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

Compile Error

lost.cpp: In function ‘void plant_mushrooms(int)’:
lost.cpp:27:15: error: ‘plant_mushrooms_on’ was not declared in this scope; did you mean ‘plant_mushroom_on’?
27 | if(s.top()) plant_mushrooms_on(i+1);
| ^~~~~~~~~~~~~~~~~~
| plant_mushroom_on
lost.cpp: At global scope:
lost.cpp:33:5: error: ambiguating new declaration of ‘int play_game()’
33 | int play_game(){
| ^~~~~~~~~
In file included from lost.cpp:3:
lost.h:2:6: note: old declaration ‘void play_game()’
2 | void play_game();
| ^~~~~~~~~