bootfall.cpp: In function 'bool okay(std::vector<int>)':
bootfall.cpp:17:2: error: 'bitset' was not declared in this scope
17 | bitset<5000> bs;
| ^~~~~~
bootfall.cpp:8:1: note: 'std::bitset' is defined in header '<bitset>'; did you forget to '#include <bitset>'?
7 | #include <stack>
+++ |+#include <bitset>
8 | using namespace std;
bootfall.cpp:17:15: error: 'bs' was not declared in this scope; did you mean 'abs'?
17 | bitset<5000> bs;
| ^~
| abs
bootfall.cpp: In function 'std::vector<int> remove(std::vector<int>, int)':
bootfall.cpp:26:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for (int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
bootfall.cpp: In function 'int main()':
bootfall.cpp:46:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for (int j = 0; j < v.size(); j++) {
| ~~^~~~~~~~~~