mouse.cpp: In function 'void solve(int)':
mouse.cpp:20:19: error: no matching function for call to 'random_shuffle(std::vector<int>&)'
20 | random_shuffle(q);
| ~~~~~~~~~~~~~~^~~
In file included from /usr/include/c++/11/string:52,
from /usr/include/c++/11/bits/locale_classes.h:40,
from /usr/include/c++/11/bits/ios_base.h:41,
from /usr/include/c++/11/ios:42,
from /usr/include/c++/11/istream:38,
from /usr/include/c++/11/sstream:38,
from /usr/include/c++/11/complex:45,
from /usr/include/c++/11/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
from mouse.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:4568:5: note: candidate: 'template<class _RAIter> void std::random_shuffle(_RAIter, _RAIter)'
4568 | random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last)
| ^~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_algo.h:4568:5: note: template argument deduction/substitution failed:
mouse.cpp:20:19: note: candidate expects 2 arguments, 1 provided
20 | random_shuffle(q);
| ~~~~~~~~~~~~~~^~~
In file included from /usr/include/c++/11/string:52,
from /usr/include/c++/11/bits/locale_classes.h:40,
from /usr/include/c++/11/bits/ios_base.h:41,
from /usr/include/c++/11/ios:42,
from /usr/include/c++/11/istream:38,
from /usr/include/c++/11/sstream:38,
from /usr/include/c++/11/complex:45,
from /usr/include/c++/11/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
from mouse.cpp:1:
/usr/include/c++/11/bits/stl_algo.h:4603:5: note: candidate: 'template<class _RAIter, class _Generator> void std::random_shuffle(_RAIter, _RAIter, _Generator&&)'
4603 | random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last,
| ^~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_algo.h:4603:5: note: template argument deduction/substitution failed:
mouse.cpp:20:19: note: candidate expects 3 arguments, 1 provided
20 | random_shuffle(q);
| ~~~~~~~~~~~~~~^~~