Problem collectmushrooms2
User PlayVoltz
Submission Time 2023-08-25 09:08:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms2.cpp: In function ‘void update(int, int, int, int)’:
collectmushrooms2.cpp:48:11: error: a function-definition is not allowed here before ‘{’ token
48 | int main(){
| ^
collectmushrooms2.cpp:66:1: error: expected ‘}’ at end of input
66 | }
| ^
collectmushrooms2.cpp:33:55: note: to match this ‘{’
33 | void update(int index, int low, int high, int findnum){
| ^