Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
3811 罗炜翰 不高兴的津津 C++ Wrong Answer 0 1 MS 264 KB 271 2024-12-29 17:22:43

Tests(0/10):


#include<bits/stdc++.h> using namespace std; int main() { int n = 7,a,b,c = 10,d = 10,e = 0,f; for (int zz = 1;zz <= n;zz++) { cin>>a>>b; if (b + a > 8 && b + a < d + c) { c = a; d = b; f = e; } e++; } cout<<f + 1; return 0; }


Judgement Protocol: