字符串缓冲方式 BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
String line = null;
line = bf.readLine())
二 Scanner s=new Scanner(System.in);
s.nextLine();
字符串缓冲方式 BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
String line = null;
line = bf.readLine())
二 Scanner s=new Scanner(System.in);
s.nextLine();
转载于:https://www.cnblogs.com/chaoba/p/6950432.html