0_0_39109138_1514.cpp:1:1: error: 'import' does not name a type
1 | import java.io.BufferedReader;
| ^~~~~~
0_0_39109138_1514.cpp:1:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:2:1: error: 'import' does not name a type
2 | import java.io.BufferedWriter;
| ^~~~~~
0_0_39109138_1514.cpp:2:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:3:1: error: 'import' does not name a type
3 | import java.io.IOException;
| ^~~~~~
0_0_39109138_1514.cpp:3:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:4:1: error: 'import' does not name a type
4 | import java.io.InputStreamReader;
| ^~~~~~
0_0_39109138_1514.cpp:4:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:5:1: error: 'import' does not name a type
5 | import java.io.OutputStreamWriter;
| ^~~~~~
0_0_39109138_1514.cpp:5:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:6:1: error: 'import' does not name a type
6 | import java.io.PrintWriter;
| ^~~~~~
0_0_39109138_1514.cpp:6:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:7:1: error: 'import' does not name a type
7 | import java.lang.reflect.Array;
| ^~~~~~
0_0_39109138_1514.cpp:7:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:8:1: error: 'import' does not name a type
8 | import java.math.BigInteger;
| ^~~~~~
0_0_39109138_1514.cpp:8:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:9:1: error: 'import' does not name a type
9 | import java.util.Arrays;
| ^~~~~~
0_0_39109138_1514.cpp:9:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:10:1: error: 'import' does not name a type
10 | import java.util.Scanner;
| ^~~~~~
0_0_39109138_1514.cpp:10:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:11:1: error: 'import' does not name a type
11 | import java.util.StringTokenizer;
| ^~~~~~
0_0_39109138_1514.cpp:11:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39109138_1514.cpp:12:1: error: expected unqualified-id before 'public'
12 | public class main {
| ^~~~~~
0_0_39109138_1514.cpp:41:12: error: 'BufferedReader' does not name a type
41 | static BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
| ^~~~~~~~~~~~~~
0_0_39109138_1514.cpp:42:12: error: 'StringTokenizer' does not name a type
42 | static StringTokenizer tokenizer = new StringTokenizer("");
| ^~~~~~~~~~~~~~~
0_0_39109138_1514.cpp:45:12: error: 'String' does not name a type
45 | static String nextLine() throws IOException { return reader.readLine(); }
| ^~~~~~
0_0_39109138_1514.cpp:47:12: error: 'String' does not name a type
47 | static String next() throws IOException
| ^~~~~~
0_0_39109138_1514.cpp:54:24: error: expected ';' at end of member declaration
54 | static int nextInt() throws IOException { return Integer.parseInt(next()); }
| ^
| ;
0_0_39109138_1514.cpp:54:26: error: 'throws' does not name a type
54 | static int nextInt() throws IOException { return Integer.parseInt(next()); }
| ^~~~~~
0_0_39109138_1514.cpp:57:30: error: expected ';' at end of member declaration
57 | static double nextDouble() throws IOException { return Double.parseDouble(next()); }
| ^
| ;
0_0_39109138_1514.cpp:57:32: error: 'throws' does not name a type
57 | static double nextDouble() throws IOException { return Double.parseDouble(next()); }
| ^~~~~~
0_0_39109138_1514.cpp:60:26: error: expected ';' at end of member declaration
60 | static long nextLong() throws IOException { return Long.parseLong(next());}
| ^
| ;
0_0_39109138_1514.cpp:60:28: error: 'throws' does not name a type
60 | static long nextLong() throws IOException { return Long.parseLong(next());}
| ^~~~~~
0_0_39109138_1514.cpp:63:12: error: 'BigInteger' does not name a type
63 | static BigInteger nextBigInteger() throws IOException { return new BigInteger(rd.nextLine());}
| ^~~~~~~~~~
0_0_39109138_1514.cpp:64:2: error: expected ';' after class definition
64 | }
| ^
| ;
|