werewolf.cpp: In function 'void dfs(int, bool, std::vector<bool>&)':
werewolf.cpp:15:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
15 | if (human && u >= l || !human && u <= r) { // werewolf condition
| ~~~~~~^~~~~~~~~
werewolf.cpp: In function 'int solve(int, int)':
werewolf.cpp:29:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<bool>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i = 0; i < vis1.size(); i++){
| ~~^~~~~~~~~~~~~
werewolf.cpp: In function 'std::vector<int> check_validity(int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
werewolf.cpp:41:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for (int i = 0; i < X.size(); i++) {
| ~~^~~~~~~~~~