Problem beareatrabbit
User 12345
Submission Time 2026-07-28 14:42:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

beareatrabbit.cpp: In function ‘long long int dp(std::deque<long long int>, long long int)’:
beareatrabbit.cpp:9:3: error: ‘h_one’ was not declared in this scope
9 | h_one = happy + rabbit[0];
| ^~~~~
beareatrabbit.cpp:10:3: error: ‘r_one’ was not declared in this scope
10 | r_one = rabbit;
| ^~~~~
beareatrabbit.cpp:13:3: error: ‘one’ was not declared in this scope; did you mean ‘clone’?
13 | one = dp(r_one, h_one);
| ^~~
| clone
beareatrabbit.cpp:15:3: error: ‘h_two’ was not declared in this scope
15 | h_two = happy +
| ^~~~~
beareatrabbit.cpp:16:3: error: ‘two’ was not declared in this scope
16 | two = dp(r_two, h_two);
| ^~~
beareatrabbit.cpp:16:12: error: ‘r_two’ was not declared in this scope
16 | two = dp(r_two, h_two);
| ^~~~~