0_0_39111674_25632.cpp:1:1: error: 'import' does not name a type
1 | import java.io.*;
| ^~~~~~
0_0_39111674_25632.cpp:1:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39111674_25632.cpp:2:1: error: 'import' does not name a type
2 | import java.util.Arrays;
| ^~~~~~
0_0_39111674_25632.cpp:2:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39111674_25632.cpp:4:1: error: expected unqualified-id before 'public'
4 | public class Main {
| ^~~~~~
0_0_39111674_25632.cpp:45:5: error: 'PrintWriter' does not name a type
45 | PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
| ^~~~~~~~~~~
0_0_39111674_25632.cpp:47:5: error: 'BufferedReader' does not name a type
47 | BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
| ^~~~~~~~~~~~~~
0_0_39111674_25632.cpp:48:5: error: 'StreamTokenizer' does not name a type
48 | StreamTokenizer in = new StreamTokenizer(br);
| ^~~~~~~~~~~~~~~
0_0_39111674_25632.cpp:54:11: error: expected ':' before 'int'
54 | public int nextInt() throws Exception {
| ^~~~
| :
0_0_39111674_25632.cpp:54:24: error: expected ';' at end of member declaration
54 | public int nextInt() throws Exception {
| ^
| ;
0_0_39111674_25632.cpp:54:26: error: 'throws' does not name a type
54 | public int nextInt() throws Exception {
| ^~~~~~
0_0_39111674_25632.cpp:59:11: error: expected ':' before 'double'
59 | public double nextDouble() throws Exception {
| ^~~~~~~
| :
0_0_39111674_25632.cpp:59:30: error: expected ';' at end of member declaration
59 | public double nextDouble() throws Exception {
| ^
| ;
0_0_39111674_25632.cpp:59:32: error: 'throws' does not name a type
59 | public double nextDouble() throws Exception {
| ^~~~~~
0_0_39111674_25632.cpp:64:11: error: expected ':' before 'long'
64 | public long nextLong() throws Exception {
| ^~~~~
| :
0_0_39111674_25632.cpp:64:26: error: expected ';' at end of member declaration
64 | public long nextLong() throws Exception {
| ^
| ;
0_0_39111674_25632.cpp:64:28: error: 'throws' does not name a type
64 | public long nextLong() throws Exception {
| ^~~~~~
0_0_39111674_25632.cpp:70:11: error: expected ':' before 'String'
70 | public String next() throws Exception {
| ^~~~~~~
| :
0_0_39111674_25632.cpp:70:12: error: 'String' does not name a type
70 | public String next() throws Exception {
| ^~~~~~
0_0_39111674_25632.cpp:76:11: error: expected ':' before 'String'
76 | public String nextLine() throws Exception {
| ^~~~~~~
| :
0_0_39111674_25632.cpp:76:12: error: 'String' does not name a type
76 | public String nextLine() throws Exception {
| ^~~~~~
0_0_39111674_25632.cpp:79:2: error: expected ';' after class definition
79 | }
| ^
| ;
|