Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
72513 sh25_wangsj 不高兴的津津 C++ Accepted 0 MS 252 KB 408 2025-11-01 15:41:42

Tests(1/1):


#include <iostream> using namespace std; int main() { int x,y,un=0,w; int arr[666]; for (int i = 1; i < 8; i++) { cin >> x>>y; arr[i]=x+y; } for (int i = 1; i <8; i++) { if (arr[i]>un) { un=arr[i]; w=i; } } cout << w << endl; return 0; }


Judgement Protocol: