Run ID:136539
提交时间:2025-11-15 13:54:24
#include<bits/stdc++.h> using namespace std; int main(){ long long a[11],s=0; for(int i=1;i<=10,i++){ cin<<a[i]; } for(int i=1;i<=10;i++){ if(a[i]>s){ s+=i; } } cout<<i; return 0; }