0_0_28898756_20724.cpp: In function 'void dfs(int)': 0_0_28898756_20724.cpp:10:2: error: 'd' was not declared in this scope d[u][1] = val[u]; ^