Problem | flipcards |
---|---|
User | Cadenloi |
Submission Time | 2023-12-02 16:58:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flipcards.cpp: In function ‘int32_t main()’:
flipcards.cpp:20:25: error: no matching function for call to ‘reverse(<unresolved overloaded function type>, std::vector<long long int>::iterator)’
20 | reverse(a.begin,a.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 flipcards.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:36: note: no known conversion for argument 1 from ‘<unresolved overloaded function type>’ to ‘__gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> &g