Run ID:94283
提交时间:2024-10-20 11:02:36
#include<bits/stdc++.h> using namespace std; int main(){ int a[3][4],amax=-200; for(int i=1;i<=3;i++){ for(int j=1;j<=4;j++){ cin>>a[i][j]; } } for(int i=1;i<=3;i++){ for(int j=1;j<=4;j++){ if(a[i][j]>amax){ amax=a[i][j]; } } } cout<<amax; return 0; }