codeforces(dfs