Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
431751 方相宜 【C4-8】每个小组的最大年龄 C++ 通过 100 3 MS 244 KB 195 2026-03-11 19:47:39

Tests(1/1):


#include<iostream> using namespace std; int main(){ int n,c;cin>>n>>c; for(int i=0;i<n;i++){ int mx=0;int x; for(int j=0;j<c;j++){ cin>>x;if(x>mx)mx=x; } cout<<mx<<endl; } return 0; }


测评信息: