Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
75649 吴正佑 不高兴的津津 C++ 通过 100 0 MS 244 KB 296 2026-07-04 16:34:36

Tests(10/10):


#include<bits/stdc++.h> using namespace std; int c[17]; int main(){ int a; for(int i=1;i<=7;i++){ int b; cin>>b>>a; if(b+a>8){ c[i]+=a+b-8; } } int mx=0; int e=0; for(int i=1;i<=7;i++){ if(c[i]>mx){ mx=c[i]; e=i; } } cout<<e; return 0; }


测评信息: