| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 84684 | sh25_chenyj | 不高兴的津津 | C++ | 通过 | 0 MS | 244 KB | 414 | 2026-02-19 11:48:51 |
#include<bits/stdc++.h> using namespace std; int main() { int ls[7][2]; // cout << fixed << setprecision(10) << ce(a); for(int i = 0; i < 7; i++){ cin>>ls[i][0]>>ls[i][1]; } int cnt = 0; for(int i = 0; i < 7; i++){ if(ls[i][0]+ls[i][1] > cnt){ cnt = ls[i][0]+ls[i][1]; } } for(int i = 0; i < 7; i++){ if(ls[i][0]+ls[i][1] == cnt){ cout<<i+1; break; } } return 0; }