Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
86877 sh25_zhoumy 不高兴的津津 C++ 通过 0 MS 236 KB 355 2026-04-10 14:35:42

Tests(1/1):


#include <iostream> using namespace std; int main() { int max_time = 0, ans = 0; for (int i = 1; i <= 7; i++) { int a, b; cin >> a >> b; int total = a + b; if (total > 8 && total > max_time) { max_time = total; ans = i; } } cout << ans << endl; return 0; }


测评信息: