| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 40730 | yejiaxiangBMT | 不高兴的津津 | C++ | Accepted | 1 MS | 244 KB | 228 | 2024-02-16 00:34:02 |
#include <iostream> using namespace std; int main() { int a, b, x = 0, y = 8; for (int i = 1; i <= 7; i ++) { cin >> a >> b; if (a+b > y) { y = a+b; x = i; } } cout << x << endl; return 0; }