| Problem | duckhunt17 |
|---|---|
| User | R9q5P8 |
| Submission Time | 2025-11-18 09:55:13 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt17.cpp: In function ‘int main()’:
duckhunt17.cpp:10:39: error: call of overloaded ‘vector(int&, <brace-enclosed initializer list>)’ is ambiguous
10 | vector<vector<int>> duck_immune(n, {});
| ^
In file included from /usr/include/c++/9/vector:67,
from duckhunt17.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:519:7: note: candidate: ‘std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = std::vector<int>; _Alloc = std::allocator<std::vector<int> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = std::vector<int>; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::vector<int> >]’
519 | vector(size_type __n, const value_type& __value,
| ^~~~~~
/usr/include/c++/9/bit