0_0_21533838_21826.cpp: In function 'int dfs(int, int, int, int)': 0_0_21533838_21826.cpp:34:2: error: 'ans' was not declared in this scope ans+=(LL)temp*cost; ^