insects.cpp: In function 'int min_cardinality(int)':
insects.cpp:9:9: error: 'move_inside' was not declared in this scope
9 | move_inside(i);
| ^~~~~~~~~~~
insects.cpp:10:12: error: 'press_button' was not declared in this scope
10 | if(press_button()==1){
| ^~~~~~~~~~~~
insects.cpp:14:13: error: 'move_outside' was not declared in this scope
14 | move_outside(i);
| ^~~~~~~~~~~~
insects.cpp:18:19: error: 'move_outside' was not declared in this scope
18 | for(int i: u) move_outside(i);
| ^~~~~~~~~~~~
insects.cpp:22:44: error: 'move_inside' was not declared in this scope
22 | for(int i: u) if((tipo[i]&pot)!=0) move_inside(i);
| ^~~~~~~~~~~
insects.cpp:24:13: error: 'move_inside' was not declared in this scope
24 | move_inside(i);
| ^~~~~~~~~~~
insects.cpp:25:16: error: 'press_button' was not declared in this scope
25 | if(press_button()!=1){
| ^~~~~~~~~~~~
insects.cpp:28:13: error: 'move_outside' was not declared in this scope
28 | move_outside(i);
| ^~~~~~~~~~~~
insects.cpp:30:44: error: 'move_outside' was not declared in this scope
30 | for(int i: u) if((tipo[i]&pot)!=0) move_outside(i);
| ^~~~~~~~~~~~