PAT乙级1032 挖掘机技术哪家强

#include 
#include 

int main(){
    int n;
    // printf("please enter\n");
    int school[100010] = {0};
    scanf("%d",&n);
    for (int i = 0;i max) {
            k = i;
            max = school[i];
        }
    }
    printf("%d %d\n",k,max);
}

 

你可能感兴趣的:(PAT乙级1032 挖掘机技术哪家强)