werewolf.cpp: In function 'std::vector<int> check_validaty(int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
werewolf.cpp:50:9: error: 'rstart' was not declared in this scope
50 | if (rstart[j] && rend[j]) ans[i] = 1;
| ^~~~~~
werewolf.cpp:50:26: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
50 | if (rstart[j] && rend[j]) ans[i] = 1;
| ^
werewolf.cpp:54:1: warning: control reaches end of non-void function [-Wreturn-type]
54 | }
| ^