0_0_10598706_6840.cpp: In function `int dfs(int)': 0_0_10598706_6840.cpp:14: error: `num' undeclared (first use this function) 0_0_10598706_6840.cpp:14: error: (Each undeclared identifier is reported only once for each function it appears in.)