int a[n][m]; for(int i=0;i<n;i++) for(int j=0;j<m;j++) scanf("%d",&a[i][j]); scanf()不需要回收垃圾字符,遇到空格或者Enter回车结束数据在读入
69,371
社区成员
243,080
社区内容
加载中
试试用AI创作助手写篇文章吧