0_0_35511303_8957.cpp: In function 'int main()': 0_0_35511303_8957.cpp:111:33: error: 'x' was not declared in this scope for(int v:g[x]) s.insert(a[v]); ^