记录详情

Compile Error

./Main.java:25: error: class, interface, enum, or record expected
    public static void main(String[] args) {
                  ^
./Main.java:27: error: class, interface, enum, or record expected
        String nStr = input.nextLine();
        ^
./Main.java:28: error: class, interface, enum, or record expected
        String listStr = input.nextLine();
        ^
./Main.java:29: error: class, interface, enum, or record expected
        int n = Integer.parseInt(nStr);
        ^
./Main.java:30: error: class, interface, enum, or record expected
        List<Integer> integerList = Arrays.stream(listStr.split(" "))
        ^
./Main.java:33: error: class, interface, enum, or record expected
        integerList.stream().skip(0).forEach(System.out::println);
        ^
./Main.java:34: error: class, interface, enum, or record expected
        System.out.println(integerList.get(0));
        ^
./Main.java:35: error: class, interface, enum, or record expected
    }
    ^
8 errors
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
1-3 序列循环左移
语言
Java
递交时间
2023-12-17 22:59:58
评测时间
2023-12-17 22:59:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes