Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
127179 丁海扬 二维数组最大值 C++ Accepted 1 MS 268 KB 287 2025-07-25 13:39:21

Tests(1/1):


Code:

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