Problem | beareatrabbit |
---|---|
User | Henries |
Submission Time | 2024-10-16 21:42:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
beareatrabbit.cpp: In function ‘long long int solve(long long int, std::vector<long long int>)’:
beareatrabbit.cpp:10:37: error: too few arguments to function ‘long long int solve(long long int, std::vector<long long int>)’
10 | return solve(pos+1,v) + solve(pos+2);
| ^
beareatrabbit.cpp:3:11: note: declared here
3 | long long solve(long long pos, vector<long long> v){
| ^~~~~
beareatrabbit.cpp:11:11: error: a function-definition is not allowed here before ‘{’ token
11 | int main(){
| ^
beareatrabbit.cpp:20:1: error: expected ‘}’ at end of input
20 | }
| ^
beareatrabbit.cpp:3:52: note: to match this ‘{’
3 | long long solve(long long pos, vector<long long> v){
| ^