//穷举 public static void main(String[] args) { Scanner in = new Scanner(System.in); String[] str1 = in.nextLine().split(","); int m = Integer.parseInt(str1[0]); int n = Integer.parseInt(str1[1]); String[][] s = new String[m][n]; for (int i = 0...