insects.cpp: In function 'int min_cardinality(int)':
insects.cpp:36:16: error: no matching function for call to 'shuffle(std::vector<int>::iterator, std::vector<int>::iterator)'
36 | shuffle(act.begin(), act.end());
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/13/algorithm:61,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51,
from insects.cpp:2:
/usr/include/c++/13/bits/stl_algo.h:3742:5: note: candidate: 'template<class _RAIter, class _UGenerator> void std::shuffle(_RAIter, _RAIter, _UGenerator&&)'
3742 | shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last,
| ^~~~~~~
/usr/include/c++/13/bits/stl_algo.h:3742:5: note: template argument deduction/substitution failed:
insects.cpp:36:16: note: candidate expects 3 arguments, 2 provided
36 | shuffle(act.begin(), act.end());
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~