java写的输入就越界不知道为啥 public static void main(String[] args){ Scanner sc = new Scanner(System.in); String s = sc.nextLine(); while (s!=null||!s.isEmpty()) { s = sc.nextLine(); } } 提交个这就数组越界了...
点赞 1

相关推荐

牛客网
牛客企业服务