/ Vijos /

记录详情

Compile Error

foo.cc:1:1: error: ‘import’ does not name a type
    1 | import java.math.BigInteger;
      | ^~~~~~
foo.cc:1:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’
foo.cc:2:1: error: ‘import’ does not name a type
    2 | import java.util.ArrayList;
      | ^~~~~~
foo.cc:2:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’
foo.cc:3:1: error: ‘import’ does not name a type
    3 | import java.util.List;
      | ^~~~~~
foo.cc:3:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’
foo.cc:4:1: error: ‘import’ does not name a type
    4 | import java.util.Scanner;
      | ^~~~~~
foo.cc:4:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’
foo.cc:6:1: error: expected unqualified-id before ‘public’
    6 | public class Main {
      | ^~~~~~

信息

递交者
类型
递交
题目
P2052 染色
语言
C++
递交时间
2024-09-25 16:39:02
评测时间
2024-09-25 16:39:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes