Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
127363 李杺隆 二维数组最大值 C++ Accepted 0 MS 276 KB 350 2025-07-27 15:29:07

Tests(1/1):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int a[10][10],n; for(int i=1;i<=3;i++) for(int j=1;j<=4;j++) cin>>a[i][j]; n=a[1][1]; for(int i=1;i<=3;i++) for(int j=1;j<=4;j++) { if(a[i][j]>n) n=a[i][j]; } cout<<n; return 0; }