第一题不知道为什么,用例都是对的,编译通过率0,有大佬帮忙看一下错哪里了吗? public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); List<List<Integer>> lists = new ArrayList<>(); for (int i = 0; i < 3; i++) { List<Integer> lists2 = new ArrayList<>(); for (int j = 0; j < n; j++) { int a = in.nextInt(); lists2.add(a); } Collections.sort(lists2); lists.add(lists2); }
点赞 5

相关推荐

2025-12-24 13:37
已编辑
浙江农林大学 C++
Eryi_是不是名字...:金牌哥,你这要是考研C9进复试线乱杀啊。可以试试字节腾讯华子,我感觉投华子实习概率很大啊
点赞 评论 收藏
分享
刷题征服者:须知少年凌云志,曾许人间第一流
工作压力大,你会干什么?
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务