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

Compile Error

flappyrabbit.cpp: In function ‘int main()’:
flappyrabbit.cpp:49:11: error: call of overloaded ‘init(vi&, vi&)’ is ambiguous
49 | init(A, B);
| ^
In file included from flappyrabbit.cpp:4:
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:38:6: note: candidate: ‘void init(vi, vi)’
38 | void init(vi A, vi B);
| ^~~~