摘要: Scanner读取一个int数组 因为有段时间用C,以为当sc.hasNextInt()这种输入检测遇到回车符时会返回false,哪知道sc.hasNextInt()会忽略忽略一切空白符(包含回车符)。所以一直调试出问题。 Scanner sc = new Scanner(System.in); S 阅读全文
posted @ 2021-08-22 00:21 鸭梨的药丸哥 阅读(20) 评论(0) 推荐(0)