Main.cpp: In function 'int main()':
Main.cpp:12:23: warning: 'void std::random_shuffle(_RAIter, _RAIter, _Generator&&) [with _RAIter = __gnu_cxx::__normal_iterator<int*, vector<int> >; _Generator = main()::<lambda(int)>]' is deprecated: use 'std::shuffle' instead [-Wdeprecated-declarations]
12 | random_shuffle(v.begin(),v.end(), [&](int p){
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 | return mt()%p;
| ~~~~~~~~~~~~~~
14 | });
| ~~
In file included from /usr/include/c++/13/algorithm:61,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51,
from Main.cpp:1:
/usr/include/c++/13/bits/stl_algo.h:4620:5: note: declared here
4620 | random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last,
| ^~~~~~~~~~~~~~