Run ID:98118
提交时间:2024-11-17 13:10:32
#include<bits/stdc++.h> using namespace std; int main(){ int a[10],s=0; for(int i=0;i<=9;i++){ cin>>a[i]; } for(int i=0;i<=9;i++){ if(s<=a[i]){ s=a[i]; } } for(int i=0;i<=9;i++){ if(s==a[i]){ i++; cout<<i; break; } } return 0; }