0_0_39220246_14911.cpp:1:1: error: 'import' does not name a type
1 | import java.time.*;
| ^~~~~~
0_0_39220246_14911.cpp:1:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39220246_14911.cpp:2:1: error: 'import' does not name a type
2 | import java.time.format.DateTimeFormatter;
| ^~~~~~
0_0_39220246_14911.cpp:2:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39220246_14911.cpp:3:1: error: 'import' does not name a type
3 | import java.util.Date;
| ^~~~~~
0_0_39220246_14911.cpp:3:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39220246_14911.cpp:4:1: error: 'import' does not name a type
4 | import java.util.Locale;
| ^~~~~~
0_0_39220246_14911.cpp:4:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39220246_14911.cpp:5:1: error: 'import' does not name a type
5 | import java.util.Scanner;
| ^~~~~~
0_0_39220246_14911.cpp:5:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39220246_14911.cpp:7:1: error: expected unqualified-id before 'public'
7 | public class Main {
| ^~~~~~
|