Problem potatoqueue
User PlayVoltz
Submission Time 2024-05-14 22:59:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatoqueue.cpp: In function ‘int query(int)’:
potatoqueue.cpp:28:27: error: ‘c’ was not declared in this scope
28 | return max(-1, dp[n-1+p]-c);
| ^