| Problem | beareatrabbit |
|---|---|
| User | TomThuy123 |
| Submission Time | 2026-01-19 22:01:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
beareatrabbit.cpp: In function ‘long long int dp(std::vector<long long int>&, long long int)’:
beareatrabbit.cpp:11:8: error: redeclaration of ‘long long int Best’
11 | ll Best=max({Best,dp(lst,n-1),dp(lst,n-2)+lst[n]});
| ^~~~
beareatrabbit.cpp:10:8: note: ‘long long int Best’ previously declared here
10 | ll Best=0;
| ^~~~