Problem | shuffle |
---|---|
User | ZivTheONe |
Submission Time | 2024-11-24 01:11:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
shuffle.cpp: In function ‘std::vector<int> solve(int, int, int, int, int)’:
shuffle.cpp:116:43: error: no matching function for call to ‘shuffle(std::vector<std::vector<int> >&)’
116 | vector< vector<int> > res = shuffle(quer);
| ^
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from shuffle.cpp:3:
/usr/include/c++/9/bits/stl_algo.h:3792:5: note: candidate: ‘template<class _RAIter, class _UGenerator> void std::shuffle(_RAIter, _RAIter, _UGenerator&&)’
3792 | shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last,
| ^~~~~~~
/usr/include/c++/9/bits/stl_algo.h:3792:5: note: template argument deduction/substitution failed:
shuffle.cpp:116:43: note: candidate expects 3 arguments, 1 provided
116 | vector< vector<int> > res =