import java.util.Scanner; /** * int output(int x, int y, int z, int k, char ch[][k]) { * int count = 0; * //在当前值周围进行循环判断 * for (int i = x - 1; i <= x + 1; i++) { * for (int j = y - 1; j <= y + 1; j++) { * //若有*且不超出矩阵范围,地雷加1 * if (ch[i][j] == ...