Problem treecutting
User ZivTheONe
Submission Time 2024-10-16 06:53:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In member function ‘ll Solution::help()’:
treecutting.cpp:91:9: error: ‘iSecret’ was not declared in this scope
91 | iSecret = rand() % N + 1;
| ^~~~~~~
treecutting.cpp:93:20: error: expected ‘)’ before ‘;’ token
93 | depths1(head, -1); d2pthss(head, -1);
| ^
| )
treecutting.cpp:92:10: note: to match this ‘(’
92 | head = (
| ^