这代码很简单:
#define N 3#define M 5main() { int a[N][M]; int point; int i,j,r,l; for(i=0;i for(j=0;j scanf("%d",&a[i][j]); point=a[0][0]; for(i=0;i for(j=0;j if(a[i][j]>point) point = a[i][j]; r++; l++; printf("最大值、行标、列标分别是:%d %d %d",a[i][j],r,l);}