dango3.cpp: In function 'void check(std::vector<int>&, int&)':
dango3.cpp:37:57: error: 'seed' was not declared in this scope
37 | shuffle(va.begin(), va.end(), default_random_engine(seed));
| ^~~~
dango3.cpp:37:35: error: 'default_random_engine' was not declared in this scope
37 | shuffle(va.begin(), va.end(), default_random_engine(seed));
| ^~~~~~~~~~~~~~~~~~~~~
dango3.cpp: In function 'void Solve(int, int)':
dango3.cpp:60:26: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
60 | while (vv.size() > n) {
| ~~~~~~~~~~^~~
dango3.cpp:61:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | if (h < vv.size() - k + 1) {
| ~~^~~~~~~~~~~~~~~~~~~