Run ID:80053
提交时间:2024-07-11 10:44:17
#include<bits/stdc++.h> using namespace std; int a[11]; int main(){ int b,wb; for(int i = 1;i <= 10;i++){ cin>> a[i]; } b = a[1]; for(int j = 2;j < 11;j++){ if(a[j] >b){ b = a[j]; wb = j; } } cout << wb; return 0; }