0_0_38179904_24722.cpp: In function 'void dfs(int, int, int)': 0_0_38179904_24722.cpp:48:25: error: 'count' was not declared in this scope dfs(j,depth+1,u,count+1); ^