insects.cpp: In function 'int PossibleMincount(int)':
insects.cpp:20:1: warning: no return statement in function returning non-void [-Wreturn-type]
20 | }
| ^
insects.cpp: In function 'int min_cardinality(int)':
insects.cpp:34:24: error: no matching function for call to 'std::deque<int>::pop_back(int&)'
34 | PrevIndex.pop_back(i);
| ^
In file included from /usr/include/c++/10/deque:67,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:68,
from insects.cpp:1:
/usr/include/c++/10/bits/stl_deque.h:1552:7: note: candidate: 'void std::deque<_Tp, _Alloc>::pop_back() [with _Tp = int; _Alloc = std::allocator<int>]'
1552 | pop_back() _GLIBCXX_NOEXCEPT
| ^~~~~~~~
/usr/include/c++/10/bits/stl_deque.h:1552:7: note: candidate expects 0 arguments, 1 provided