Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
75613 谢润景 不高兴的津津 C++ 编译错误 0 0 MS 0 KB 377 2026-07-04 16:17:09

Tests(0/0):


#include <bits/stdc++.h> using namespace std; int a[2][7],b[2][7]; int main(){ for(int i=0;i<2;i++){ for(int j=0;j<7;j++){ cin>>a[i][j]; } } for(int i=0;i<7;i++){ b[1][i]=a[1][i]+a[2][i]; b[2][i]=i+1; } sort(b,b+7); if(b[1][6]>8){ cout<<b[2][6]; } else{ cout<<"0"; } return 0; }


测评信息: