#include <stdio.h> # int main() { int n, m; char t; int a, b, k; int arr[10][10]; scanf("%d %d", &n, &m); //输入数据储存到二维数组 for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { scanf("%d", &arr[i][j]); ...