Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
127360 李杺隆 二维数组最大值 C++ Wrong Answer 1 MS 268 KB 350 2025-07-27 15:28:07

Tests(0/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[j][i]; 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; }


Run Info:

------Input------
123 333 135 352 977 739 144 104 233 632 242 433
------Answer-----
977
------Your output-----
8044680