Problem duckeatant
User gohchingjayk
Submission Time 2024-12-07 10:48:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckeatant.cpp:15:2: error: ‘d’ does not name a type
15 | }d
| ^
duckeatant.cpp:60:1: error: ‘Node’ does not name a type
60 | Node *root;
| ^~~~
duckeatant.cpp: In function ‘int main()’:
duckeatant.cpp:69:2: error: ‘root’ was not declared in this scope
69 | root = new Node(1, N);
| ^~~~
duckeatant.cpp:69:13: error: expected type-specifier before ‘Node’
69 | root = new Node(1, N);
| ^~~~