Stardust1001
int matrix[3][4] = [[0, 1, 2, 3], [2, 3, 4, 5], [6, 7, 8, 9]];int min = 0;int row = 0;int col = 0;for (int i = 0;i < 3;i ++){ for (int j = 0;j < 4;j ++) { if (min > matrix[i][j]) { min = matrix[i][j]; row = i; col = j; }}print("最小值%d, 行号%d, 列号%d.", min, row, col);