insects.cpp:3:1: error: 'deque' does not name a type
3 | deque <int> PrevIndex;
| ^~~~~
insects.cpp: In function 'int Possible_Mincount(int)':
insects.cpp:7:2: error: 'PrevIndex' was not declared in this scope
7 | PrevIndex.clear();
| ^~~~~~~~~
insects.cpp:18:1: warning: no return statement in function returning non-void [-Wreturn-type]
18 | }
| ^
insects.cpp: In function 'int min_cardinality(int)':
insects.cpp:28:3: error: 'PrevIndex' was not declared in this scope
28 | PrevIndex.push_back(i);
| ^~~~~~~~~
insects.cpp:35:12: error: 'PrevIndex' was not declared in this scope
35 | TypeCount=PrevIndex.size();
| ^~~~~~~~~
insects.cpp:39:6: error: 'PossibleMincount' was not declared in this scope; did you mean 'Possible_Mincount'?
39 | if(PossibleMincount(mid)){
| ^~~~~~~~~~~~~~~~
| Possible_Mincount
insects.cpp:45:5: error: 'PossibleMincount' was not declared in this scope; did you mean 'Possible_Mincount'?
45 | if(PossibleMincount(l)){
| ^~~~~~~~~~~~~~~~
| Possible_Mincount
insects.cpp:50:1: warning: control reaches end of non-void function [-Wreturn-type]
50 | }
| ^