Problem goombatower
User penguin133
Submission Time 2023-12-16 22:38:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

goombatower.cpp:56:6: error: expected ‘;’ after struct definition
56 | }
| ^
| ;
goombatower.cpp:58:1: error: expected declaration before ‘}’ token
58 | }*root;
| ^
goombatower.cpp:58:7: error: expected constructor, destructor, or type conversion before ‘;’ token
58 | }*root;
| ^
goombatower.cpp: In function ‘int32_t main()’:
goombatower.cpp:64:5: error: ‘root’ was not declared in this scope
64 | root = new node(1,1e9);
| ^~~~