0_0_39742426_20164.cpp:1:1: error: 'import' does not name a type
1 | import java.util.LinkedList; // 导入 LinkedList 类,用于实现队列
| ^~~~~~
0_0_39742426_20164.cpp:1:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39742426_20164.cpp:2:1: error: 'import' does not name a type
2 | import java.util.Scanner; // 导入 Scanner 类,用于接收用户输入
| ^~~~~~
0_0_39742426_20164.cpp:2:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39742426_20164.cpp:3:1: error: expected unqualified-id before 'public'
3 | public class Main {
| ^~~~~~
|