Run ID:27041
提交时间:2022-05-28 16:07:42
#include<iostream> using namespace std; int main(){ int x; int mx=0; int h=0,l=0; for(int i=0;i<=2;i++){ for(int j=0;j<=3;j++){ cin>>x; if(x>mx){ h=i; l=j; mx=x; } } } cout<<mx<<" "<<h<<" "<<l; return 0; }