Mã chấm Tài khoản Bài tập Ngôn ngữ lập trình Trạng thái Thời gian Bộ nhớ Kích thước Thời gian nộp
421012 Thiều Bình An Đổi múi giờ C/C++ Lỗi biên dịch (CE) 0 MS 0 KB 657 2024-04-02 06:59:36

Lỗi biên dịch:

/bin/chown: invalid user: ‘judge’
Main.cc:1:1: error: ‘import’ does not name a type
    1 | import java.io.*;
      | ^~~~~~
Main.cc:1:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’
Main.cc:2:1: error: ‘import’ does not name a type
    2 | import java.util.*;
      | ^~~~~~
Main.cc:2:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’
Main.cc:3:1: error: ‘import’ does not name a type
    3 | import java.text.*;
      | ^~~~~~
Main.cc:3:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’
Main.cc:4:1: error: ‘import’ does not name a type
    4 | import java.math.*;
      | ^~~~~~
Main.cc:4:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’
Main.cc:5:1: error: ‘import’ does not name a type
    5 | import java.util.regex.*;
      | ^~~~~~
Main.cc:5:1: note: C++20 ‘import’ only available with ‘-fmodules-ts’
Main.cc:8:1: error: expected unqualified-id before ‘public’
    8 | public class Main {
      | ^~~~~~