| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 72508 | sh25_wangsj | 不高兴的津津 | C++ | 编译错误 | 0 MS | 0 KB | 408 | 2025-11-01 15:39:05 |
#include <iostream> using namespace std; int main() { int x,y,un=0,w; int arr[666]; for (int i = 0; i < 7; i++) { cin >> x>>y; arr[i]=x+y; } for (int i = 0; i <N; i++) { if (arr[i]>un) { un=arr[i]; w=i; } } cout << w << endl; return 0; }