0_0_19643838_1367.cpp: In function 'int bfs(int)': 0_0_19643838_1367.cpp:46:26: error: 'd' was not declared in this scope vis[v][dis[v] % 2] = d; ^