Problem potatoqueue
User PrunJuice
Submission Time 2025-03-28 17:53:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatoqueue.cpp: In function ‘int query(int)’:
potatoqueue.cpp:18:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
18 | return;
| ^~~~~~
potatoqueue.cpp:27:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
27 | return;
| ^~~~~~