Problem smurf
User godex
Submission Time 2025-02-24 16:27:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smurf.cpp: In function ‘int32_t main()’:
smurf.cpp:21:19: error: no matching function for call to ‘reverse(std::deque<long long int>&)’
21 | reverse (N);
| ^
In file included from /usr/include/c++/9/algorithm:62,
from smurf.cpp:3:
/usr/include/c++/9/bits/stl_algo.h:1186:5: note: candidate: ‘template<class _BIter> void std::reverse(_BIter, _BIter)’
1186 | reverse(_BidirectionalIterator __first, _BidirectionalIterator __last)
| ^~~~~~~
/usr/include/c++/9/bits/stl_algo.h:1186:5: note: template argument deduction/substitution failed:
smurf.cpp:21:19: note: candidate expects 2 arguments, 1 provided
21 | reverse (N);
| ^
In file included from /usr/include/c++/9/algorithm:71,
from smurf.cpp:3:
/usr/include/c++/9/pstl/glue_algorithm_defs.h:249:1: note: candidate: ‘template<class _ExecutionPolicy, class _Bidirectio