0_0_39645369_9846.cpp:1:1: error: 'import' does not name a type
1 | import java.util.Scanner; // 导入 Scanner 类以处理输入流
| ^~~~~~
0_0_39645369_9846.cpp:1:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39645369_9846.cpp:3:1: error: expected unqualified-id before 'public'
3 | public class Main {
| ^~~~~~
|