| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 74984 | sh25_wangtaojie | 不高兴的津津 | C++ | Accepted | 0 MS | 248 KB | 408 | 2025-12-05 14:51:30 |
#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; }