#include using namespace std; int main(){ set I,reach; int N,M,S,G,U,input; cin>>N>>M>>S>>G; int E[M][2]; vector> C(N,vector(N)); queue Q; Q.push(S-1); for(int i=0;i>E[i][0]>>E[i][1]; } cin>>U; for(int i=0;i>input; I.insert(input); } for(int i=0;i