Problem lost
User TheRaptor
Submission Time 2023-06-05 19:51:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lost.cpp: In function ‘void plant_mushrooms(int)’:
lost.cpp:26:15: error: ‘plant_mushrooms_on’ was not declared in this scope; did you mean ‘plant_mushrooms’?
26 | if(s.top()) plant_mushrooms_on(i+1);
| ^~~~~~~~~~~~~~~~~~
| plant_mushrooms
lost.cpp: In function ‘int play_game()’:
lost.cpp:33:10: error: ‘check_mushroom’ was not declared in this scope
33 | int cur=check_mushroom();
| ^~~~~~~~~~~~~~
lost.cpp:35:10: error: ‘walk_right’ was not declared in this scope
35 | bool x=walk_right();
| ^~~~~~~~~~