werewolf.cpp: In function 'bool bfs(int, int, int, int)':
werewolf.cpp:16:9: error: 'tie' was not declared in this scope
16 | tie(form,city)=Q.front();
| ^~~
werewolf.cpp:4:1: note: 'std::tie' is defined in header '<tuple>'; did you forget to '#include <tuple>'?
3 | #include <iostream>
+++ |+#include <tuple>
4 | using namespace std;
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:19: 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++)
| ~^~~~~~~~~
werewolf.cpp:47:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int i=0;i<S.size();i++)
| ~^~~~~~~~~