#include using namespace std; bool isad(int x,int y,int a[5][5]) { for(int i=0;i<5;i++) if(a[i][y]>a[x][y]) return 0; for(int i=0;i<5;i++) if(a[x][i]