| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 157309 | 王晏林 | 计算鞍点 | C++ | Wrong Answer | 1 MS | 272 KB | 630 | 2026-07-22 13:34:35 |
#include<iostream> using namespace std; int main(){ int a[5][5]={},max,min,h,l,q=0; for(int i=0;i<5;i++){ for(int j=0;j<5;j++)cin>>a[i][j]; } for(int i=0;i<6;i++){ max=0;min=1000; for(int j=0;j<6;j++){ if(max<a[i][j]){ max=a[i][j]; l=j; } } for(int q=0;q<6;q++){ if(min>a[q][l]){ min=a[q][l]; h=q; } } if(max==min)break; } if(min==max)cout<<h<<' '<<l<<' '<<endl; else cout<<"not found"<<endl; return 0; }
------Input------
8 2 16 9 15 5 14 13 17 22 12 10 21 23 24 25 19 7 3 4 20 6 11 1 18
------Answer-----
not found
------Your output-----
5 0