Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
73282 sh25_ganzy 计算鞍点 C++ 编译错误 0 MS 0 KB 806 2025-11-08 19:12:02

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ int a[5][5],i0=-1,j0=-1,n0=-1; bool b=true; for(int i=0;i<5;i++){ for(int j=0;j<9;j++){ cin>>a[i][j]; } } for(int i=0;i<5;i++){ for(int j=0;j<5;j++){ for(int k=0;k<5;k++){ if(a[i][j]>a[i][k]){ b=false; } } for(int k=0;k<5;k++){ if(a[i][j]<a[k][j]){ b=false; } } if(b==true){ i0=i; j0=j; n0=a[i][j]; } } } if(i==-1||j==-1){ cout<<"not found"; }else{ cout<<i0<<" "<<j0<<" "<<n0; } return 0; }


测评信息: