Run ID:124102
提交时间:2025-07-11 09:46:48
#include<bits/stdc++.h> using namespace std; int main(){ int a[11],max,max1; for(int i=1;i<=10;i++){ cin>>a[i]; } max = a[1]; max1 = 1; for(int j=2;j<=10;j++){ if(max<a[j]){ max=a[j]; max1=j; } } cout<<max1<<endl; return 0; }