0_0_35610391_3749.cpp: In function 'void dfs(int, int, int)': 0_0_35610391_3749.cpp:12:21: error: return-statement with a value, in function returning 'void' [-fpermissive] if(flag) return 0; ^