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:9:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for (int i=0; i<x.size(); i++)
| ~^~~~~~~~~
werewolf.cpp:18:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for (int i=0; i<s.size(); i++)
| ~^~~~~~~~~
werewolf.cpp:30:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
30 | if (!ok[v] && (v<n && v>=l[i] || u>=n && v<=r[i] || u<n && v>=n))
werewolf.cpp:30:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
30 | if (!ok[v] && (v<n && v>=l[i] || u>=n && v<=r[i] || u<n && v>=n))
| ~~~~^~~~~~~