0_0_31775984_27777.cpp:1:1: error: 'import' does not name a type
import java.io.*;
^
0_0_31775984_27777.cpp:2:1: error: 'import' does not name a type
import java.util.*;
^
0_0_31775984_27777.cpp:3:1: error: 'import' does not name a type
import java.math.*;
^
0_0_31775984_27777.cpp:6:5: error: 'BufferedReader' does not name a type
BufferedReader buf;
^
0_0_31775984_27777.cpp:7:5: error: 'StringTokenizer' does not name a type
StringTokenizer tok;
^
0_0_31775984_27777.cpp:11:5: error: 'boolean' does not name a type
boolean hasNext() {
^
0_0_31775984_27777.cpp:21:5: error: 'String' does not name a type
String next() {
^
0_0_31775984_27777.cpp:35:5: error: 'BigInteger' does not name a type
BigInteger nextBigInteger() {
^
0_0_31775984_27777.cpp:38:5: error: 'BigDecimal' does not name a type
BigDecimal nextBigDecimal() {
^
0_0_31775984_27777.cpp:41:1: error: expected ';' after class definition
}
^
0_0_31775984_27777.cpp: In constructor 'InputReader::InputReader()':
0_0_31775984_27777.cpp:9:9: error: 'buf' was not declared in this scope
buf = new BufferedReader(new InputStreamReader(System.in));
^
0_0_31775984_27777.cpp:9:19: error: expected type-specifier before 'BufferedReader'
buf = new BufferedReader(new InputStreamReader(System.in));
^
0_0_31775984_27777.cpp: In member function 'int InputReader::nextInt()':
0_0_31775984_27777.cpp:27:16: error: 'Integer' was not declared in this scope
return Integer.parseInt(next());
^
0_0_31775984_27777.cpp:27:38: error: 'next' was not declared in this scope
return Integer.parseInt(next());
^
0_0_31775984_27777.cpp: In member function 'long int InputReader::nextLong()':
0_0_31775984_27777.cpp:30:16: error: 'Long' was not declared in this scope
return Long.parseLong(next());
^
0_0_31775984_27777.cpp:30:36: error: 'next' was not declared in this scope
return Long.parseLong(next());
^
0_0_31775984_27777.cpp: In member function 'double InputReader::nextDouble()':
0_0_31775984_27777.cpp:33:16: error: 'Double' was not declared in this scope
return Double.parseDouble(next());
^
0_0_31775984_27777.cpp:33:40: error: 'next' was not declared in this scope
return Double.parseDouble(next());
^
0_0_31775984_27777.cpp: At global scope:
0_0_31775984_27777.cpp:42:1: error: expected unqualified-id before 'public'
public class Main {
^
|