werewolf.cpp: In function 'bool go(int, bool)':
werewolf.cpp:31:31: warning: '~' on an expression of type bool [-Wbool-operation]
31 | if(pl <= u && u <= pr && ~st && !vis[1][u] && go(u ,1))
| ^~
werewolf.cpp:31:31: note: did you mean to use logical not ('!')?
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:44:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for(int i=0; i<X.size(); i++){
| ~^~~~~~~~~
werewolf.cpp:50:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for(int q = 0; q < R.size(); q++){
| ~~^~~~~~~~~~