注意点:第一次交上去五十,因为忘记了输出NO的情况。
[code] 1 #include 2 #include 3 4 int main() 5 { 6 int n,m; 7 scanf("%d %d",&n,&m); 8 9 int array[n][m];10 int flag=0;//judge whether the dot exists11 int i,j;12 int imin[n]={0},jmax[m]={0};//assist-array,record the max/min13 14 15 for(i=0;i