Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
3794 罗炜翰 不高兴的津津 C++ Wrong Answer 0 1 MS 260 KB 286 2024-12-29 17:17:15

Tests(0/10):


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


Judgement Protocol: