Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125529 | 张铖睿 | 二维数组最大值 | C++ | Output Limit Exceeded | 0 MS | 268 KB | 314 | 2025-07-15 08:52:15 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,a[3][4],maxn=0; cin>>n; for(int i=1;i<=n;i++) for(int j=1;j<=n;j++) cin>>a[i][j]; for(int i=1;i<=n;i++) { for(int j=1;j<=n;j++) if(a[i][j]>=maxn) { cout<<a[i][j]<<" "; } } cout<<endl; return 0; }