Problem flappyrabbit
User geometric
Submission Time 2023-01-14 10:05:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flappyrabbit.cpp: In function ‘int main()’:
flappyrabbit.cpp:17:11: error: call of overloaded ‘init(std::vector<int>&, std::vector<int>&)’ is ambiguous
17 | init(A, B);
| ^
In file included from flappyrabbit.cpp:1:
flappyrabbit.h:4:6: note: candidate: ‘void init(std::vector<int>&, std::vector<int>&)’
4 | void init(vector<int> &a, vector<int> &b);
| ^~~~
flappyrabbit.cpp:6:6: note: candidate: ‘void init(std::vector<int>, std::vector<int>)’
6 | void init(vector<int> A, vector<int> B);
| ^~~~