| Problem | turbo |
|---|---|
| User | YH |
| Submission Time | 2025-12-12 11:56:55 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
turbo.cpp: In function ‘void turbo(int)’:
turbo.cpp:38:16: error: expected unqualified-id before ‘=’ token
38 | random_device = rd;
| ^
turbo.cpp:39:14: error: ‘rd’ was not declared in this scope
39 | mt19937 gen(rd());
| ^~
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