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