Problem | flappyrabbit |
---|---|
User | louisleehi |
Submission Time | 2022-12-30 14:44:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flappyrabbit.cpp: In function ‘int main()’:
flappyrabbit.cpp:18:11: error: call of overloaded ‘init(std::vector<int>&, std::vector<int>&)’ is ambiguous
18 | init(A, B);
| ^
In file included from flappyrabbit.cpp:2:
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:7:6: note: candidate: ‘void init(std::vector<int>, std::vector<int>)’
7 | void init(vector<int> A, vector<int> B);
| ^~~~