Problem reopening
User Potato3218
Submission Time 2022-12-28 14:02:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from reopening.cpp:1:
/usr/include/c++/9/bits/stl_algo.h: In instantiation of ‘void std::random_shuffle(_RAIter, _RAIter, _Generator&&) [with _RAIter = __gnu_cxx::__normal_iterator<edge*, std::vector<edge> >; _Generator = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>&]’:
reopening.cpp:39:54: required from here
/usr/include/c++/9/bits/stl_algo.h:4656:48: error: no match for call to ‘(std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>) (__gnu_cxx::__normal_iterator<edge*, std::vector<edge> >::difference_type)’
4656 | _RandomAccessIterator __j = __first + __rand((__i - __first) + 1);
|