第三题直接面向答案编程 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int m = in.nextInt(); String[] b=new String[m]; for(int i=0;i<m;i++){ b[i]=in.nextLine(); } ...