Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
27041 | 彭紫岩 | C语言7.3 | C++ | Accepted | 2 MS | 732 KB | 351 | 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; }