#include int main(){ int m,n; int i,j,s,d; printf("请输入m:"); scanf("%d",&m); printf("请输入n:"); scanf("%d",&n); printf("请输入%d个数据:",m*n); for(i=0;i { s=0; for(j=0;j { scanf("%d",&d); s+=d; } printf("第%d行的和为%d\n",i+1,s); }}