Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
39224 Hyma 不高兴的津津 C++ Accepted 1 MS 244 KB 271 2024-01-31 10:02:06

Tests(10/10):


#include<bits/stdc++.h> using namespace std; int main(){ int i,a,b,n,max=8; for(i=1;i<=7;i++) { cin>>a>>b; if(a+b>8&&i<max) { max=i; } } if(a+b==8) cout<<"0"; cout<<max; return 0; }


Judgement Protocol: