Problem | smurf |
---|---|
User | dieunq1309 |
Submission Time | 2023-02-20 17:55:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/algorithm:62,
from smurf.cpp:3:
/usr/include/c++/9/bits/stl_algo.h: In instantiation of ‘void std::reverse(_BIter, _BIter) [with _BIter = int]’:
smurf.cpp:17:30: required from here
/usr/include/c++/9/bits/stl_algo.h:1192:63: error: no matching function for call to ‘__iterator_category(int&)’
1192 | std::__reverse(__first, __last, std::__iterator_category(__first));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:65,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from smurf.cpp:1:
/usr/include/c++/9/bits/stl_iterator_base_types.h:205:5: note: candidate: ‘template<class _Iter> constexpr typename std: