| Problem | flappyrabbit |
|---|---|
| User | maomao |
| Submission Time | 2025-11-13 15:05:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
flappyrabbit.cpp: In function ‘int main()’:
flappyrabbit.cpp:55:11: error: call of overloaded ‘init(std::vector<int>&, std::vector<int>&)’ is ambiguous
55 | 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:27:6: note: candidate: ‘void init(std::vector<int>, std::vector<int>)’
27 | void init(vector<int> A, vector<int> B) {
| ^~~~