0_0_13578587_9961.cpp: In function 'void bfs()': 0_0_13578587_9961.cpp:57:22: error: 'y' was not declared in this scope if(x==0){a[a[x].c[y]].fail=0;} ^