Run ID:11852

提交时间:2021-05-17 19:51:32

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