Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
75585 谢博宇 不高兴的津津 C++ 通过 100 0 MS 248 KB 365 2026-07-04 15:50:46

Tests(10/10):


#include<bits/stdc++.h> using namespace std; int main() { int a,b; int m=0; int n=0; for(int i=1;i<=7;i++) { cin>>a>>b; int t=a+b; if(t>m) { m=t; n=i; } } if(m>8) { cout<<n<<endl; }else{ cout<<0<<endl; } return 0; }


测评信息: