Problem quest
User Arjun
Submission Time 2025-12-29 16:38:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

quest.cpp: In function ‘int main()’:
quest.cpp:60:5: error: ‘permanentL’ was not declared in this scope
60 | permanentL = 1;
| ^~~~~~~~~~
quest.cpp:61:5: error: ‘permanentR’ was not declared in this scope
61 | permanentR = N;
| ^~~~~~~~~~
quest.cpp:66:14: error: ‘cost’ was not declared in this scope; did you mean ‘cosl’?
66 | total += cost;
| ^~~~
| cosl