| Problem | turbo |
|---|---|
| User | YH |
| Submission Time | 2025-12-12 11:57:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
turbo.cpp: In function ‘void turbo(int)’:
turbo.cpp:42:25: error: no matching function for call to ‘iota(std::vector<int>::iterator, std::vector<int>::iterator)’
42 | iota(a.begin(), a.end());
| ^
In file included from /usr/include/c++/9/numeric:62,
from turbo.cpp:18:
/usr/include/c++/9/bits/stl_numeric.h:87:5: note: candidate: ‘template<class _ForwardIterator, class _Tp> void std::iota(_ForwardIterator, _ForwardIterator, _Tp)’
87 | iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value)
| ^~~~
/usr/include/c++/9/bits/stl_numeric.h:87:5: note: template argument deduction/substitution failed:
turbo.cpp:42:25: note: candidate expects 3 arguments, 2 provided
42 | iota(a.begin(), a.end());
| ^