0_0_38320915_31199.cpp: In function 'double dfs(int, int)': 0_0_38320915_31199.cpp:14:5: error: 'vid' was not declared in this scope vid[x][cur] = 1; ^