Problem | eeducation |
---|---|
User | ilikeeggs |
Submission Time | 2024-07-24 21:31:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eeducation.cpp: In function ‘int32_t main()’:
eeducation.cpp:21:37: error: no matching function for call to ‘reverse(std::vector<long long int>::iterator, <unresolved overloaded function type>)’
21 | reverse(vecta.begin(), vecta.end);
| ^
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from eeducation.cpp:1:
/usr/include/c++/9/bits/stl_algo.h:1186:5: note: candidate: ‘void std::reverse(_BIter, _BIter) [with _BIter = __gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >]’
1186 | reverse(_BidirectionalIterator __first, _BidirectionalIterator __last)
| ^~~~~~~
/usr/include/c++/9/bits/stl_algo.h:1186:68: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘__gnu_cxx::__normal_iterator<long long int*, std::vec