Problem | toxic |
---|---|
User | HighLithop |
Submission Time | 2023-12-08 15:15:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
toxic.cpp: In function ‘void determine_type(int)’:
toxic.cpp:6:23: error: class template argument deduction failed:
6 | std::vector species={};
| ^
toxic.cpp:6:23: error: no matching function for call to ‘vector()’
In file included from /usr/include/c++/9/vector:67,
from toxic.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:1872:5: note: candidate: ‘template<class _InputIterator, class _ValT, class _Allocator, class, class> std::vector(_InputIterator, _InputIterator, _Allocator)-> std::vector<_ValT, _Allocator>’
1872 | vector(_InputIterator, _InputIterator, _Allocator = _Allocator())
| ^~~~~~
/usr/include/c++/9/bits/stl_vector.h:1872:5: note: template argument deduction/substitution failed:
toxic.cpp:6:23: note: candidate expects 3 arguments, 0 provided
6 | std::vector species={};
| ^
In file included from /usr/include/c++/9/vector:6