Problem candymountain_ex
User user123
Submission Time 2023-09-09 13:19:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candymountain_ex.cpp: In function ‘int main()’:
candymountain_ex.cpp:24:9: error: ‘k’ was not declared in this scope
24 | if (a>k) kprev.erase(dp[a-k]);
| ^