Scanner in = new Scanner(System.in); String line = in.nextLine(); String strs[] = line.split(","); 最后将strs转int就行了
点赞 3

相关推荐

牛客网
牛客企业服务