insects.cpp:20:2: error: extended character is not valid in an identifier
20 | vector<bool> active(n, 1);
| ^
insects.cpp: In function 'int min_cardinality(int)':
insects.cpp:20:2: error: '\U000000a0vector' was not declared in this scope
20 | vector<bool> active(n, 1);
| ^~~~~~~
insects.cpp:20:11: error: expected primary-expression before 'bool'
20 | vector<bool> active(n, 1);
| ^~~~
insects.cpp:25:38: error: 'active' was not declared in this scope; did you mean 'ctime'?
25 | for (int i = 0; i< n; i++) if (active[i]) {
| ^~~~~~
| ctime
insects.cpp:32:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
32 | if (S.size() < x*k) {
| ~~~~~~~~~^~~~~
insects.cpp:33:11: error: 'active' was not declared in this scope; did you mean 'ctime'?
33 | active.assign(n, 0);
| ^~~~~~
| ctime
insects.cpp:38:21: error: 'active' was not declared in this scope; did you mean 'ctime'?
38 | _n -= active[i];
| ^~~~~~
| ctime
insects.cpp:51:38: error: 'active' was not declared in this scope; did you mean 'ctime'?
51 | for (int i = 0; i< n; i++) if (active[i]) {
| ^~~~~~
| ctime
insects.cpp:58:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
58 | if (S.size() < x*k) {
| ~~~~~~~~~^~~~~