如果在 while (in.hasNextLine()) 里面写,就会报错,之前的不知道为什么没有问题。
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务