0_0_26097158_16736.cpp:16:2: error: stray '@' in program
@SuppressWarnings("resource")
^
0_0_26097158_16736.cpp:2:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_26097158_16736.cpp:6:12: error: field 'node' has incomplete type 'Node [0]'
Node node[];
^
0_0_26097158_16736.cpp:8:9: error: expected ':' before 'Node'
public Node(int x, Node node[]) {
^
0_0_26097158_16736.cpp:13:1: error: expected ';' after class definition
}
^
0_0_26097158_16736.cpp: In constructor 'Node::Node(int, Node*)':
0_0_26097158_16736.cpp:10:8: error: request for member 'x' in '(Node*)this', which is of pointer type 'Node*' (maybe you meant to use '->' ?)
this.x = x;//璁板綍鏄惁涓哄瓧绗︿覆鐨勬湯灏
^
0_0_26097158_16736.cpp:11:8: error: request for member 'node' in '(Node*)this', which is of pointer type 'Node*' (maybe you meant to use '->' ?)
this.node = node;
^
0_0_26097158_16736.cpp: At global scope:
0_0_26097158_16736.cpp:15:1: error: expected unqualified-id before 'public'
public class Main {
^
|