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:37:16: error: expected ';' before ')' token
37 | for (j<=r[i]){
| ^
| ;
werewolf.cpp:37:10: warning: value computed is not used [-Wunused-value]
37 | for (j<=r[i]){
werewolf.cpp:41:4: error: expected primary-expression before 'while'
41 | while (!q.empty()){
| ^~~~~
werewolf.cpp:40:5: error: expected ';' before 'while'
40 | }
| ^
| ;
41 | while (!q.empty()){
| ~~~~~
werewolf.cpp:41:4: error: expected primary-expression before 'while'
41 | while (!q.empty()){
| ^~~~~
werewolf.cpp:40:5: error: expected ')' before 'while'
40 | }
| ^
| )
41 | while (!q.empty()){
| ~~~~~
werewolf.cpp:37:8: note: to match this '('
37 | for (j<=r[i]){
| ^