0_0_36486947_29200.cpp:4:12: error: expected ':' before 'static'
public static void main(String[] args) {
^
0_0_36486947_29200.cpp:4:29: error: 'String' has not been declared
public static void main(String[] args) {
^
0_0_36486947_29200.cpp:4:38: error: expected ',' or '...' before 'args'
public static void main(String[] args) {
^
0_0_36486947_29200.cpp:15:13: error: expected ':' before 'boolean'
private boolean[] aBoolean = new boolean[81];
^
0_0_36486947_29200.cpp:15:13: error: 'boolean' does not name a type
0_0_36486947_29200.cpp:19:13: error: expected ':' before 'int'
private int getX(int ks) {
^
0_0_36486947_29200.cpp:27:13: error: expected ':' before 'void'
private void dfs(int i, int j) {
^
0_0_36486947_29200.cpp:56:1: error: expected ';' after class definition
}
^
0_0_36486947_29200.cpp: In static member function 'static void Main::main(int*)':
0_0_36486947_29200.cpp:5:9: error: 'Scanner' was not declared in this scope
Scanner scanner = new Scanner(System.in);
^
0_0_36486947_29200.cpp:6:20: error: 'scanner' was not declared in this scope
int size = scanner.nextInt();
^
0_0_36486947_29200.cpp:7:31: error: conversion from 'Main*' to non-scalar type 'Main' requested
Main main3 = new Main();
^
0_0_36486947_29200.cpp:10:13: error: 'System' was not declared in this scope
System.out.println(main3.getX(k));
^
0_0_36486947_29200.cpp: In member function 'int Main::getX(int)':
0_0_36486947_29200.cpp:22:9: error: 'aBoolean' was not declared in this scope
aBoolean[1] = true;
^
0_0_36486947_29200.cpp: In member function 'void Main::dfs(int, int)':
0_0_36486947_29200.cpp:43:14: error: 'aBoolean' was not declared in this scope
if (!aBoolean[move]) {
^
0_0_36486947_29200.cpp:50:14: error: 'aBoolean' was not declared in this scope
if (!aBoolean[move]) {
^
|