intmain(){int N,M,i,j; cin>> N>> M;//malloc二维数组int**a=(int**)malloc(sizeof(int*)*N);for(i=0;i