Problem beareatrabbit
User Red123
Submission Time 2026-04-06 16:51:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

beareatrabbit.cpp: In function ‘int main()’:
beareatrabbit.cpp:34:18: error: ‘i’ was not declared in this scope
34 | cout << max(dp[i - 1], dp[i - 2]);
| ^