0_0_36709046_2725.cpp:1:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_36709046_2725.cpp:4:12: error: expected ':' before 'static'
public static void main(String[] args) {
^
0_0_36709046_2725.cpp:4:29: error: 'String' has not been declared
public static void main(String[] args) {
^
0_0_36709046_2725.cpp:4:38: error: expected ',' or '...' before 'args'
public static void main(String[] args) {
^
0_0_36709046_2725.cpp:14:13: error: expected ':' before 'static'
private static boolean isQinHe(int a, int b){
^
0_0_36709046_2725.cpp:14:20: error: 'boolean' does not name a type
private static boolean isQinHe(int a, int b){
^
0_0_36709046_2725.cpp:18:13: error: expected ':' before 'static'
private static int sum(int a){
^
0_0_36709046_2725.cpp:25:1: error: expected ';' after class definition
}
^
0_0_36709046_2725.cpp: In static member function 'static void Main::main(int*)':
0_0_36709046_2725.cpp:5:9: error: 'Scanner' was not declared in this scope
Scanner scanner = new Scanner(System.in);
^
0_0_36709046_2725.cpp:6:17: error: 'scanner' was not declared in this scope
int T = scanner.nextInt();
^
0_0_36709046_2725.cpp:10:28: error: 'isQinHe' was not declared in this scope
if(isQinHe(a, b)){System.out.println("YES");}
^
0_0_36709046_2725.cpp:10:31: error: 'System' was not declared in this scope
if(isQinHe(a, b)){System.out.println("YES");}
^
0_0_36709046_2725.cpp:11:18: error: 'System' was not declared in this scope
else{System.out.println("NO");}
^
|