Problem rabbitbars
User YSH2020
Submission Time 2025-02-06 17:17:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rabbitbars.cpp: In function ‘int main()’:
rabbitbars.cpp:40:45: error: ‘cost’ was not declared in this scope; did you mean ‘cosl’?
40 | for (int i = 0; i < n; i++) dp_before[i] = cost(0, i);
| ^~~~
| cosl