/ SeriousOJ /

Record Detail

Compile Error

foo.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
foo.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
foo.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~

Information

Submit By
Type
Submission
Language
C++17 (G++ 13.2.0)
Submit At
2025-08-03 10:12:52
Judged At
2025-08-03 10:12:52
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes