『算法-ACM竞赛-CodeForces』272EDimaandHorses(假DFS)
『算法-ACM 竞赛-CodeForces』272EDimaandHorses(假 DFS)codeforce 272E Dima and Horses (假 DFS)E. Dima and Horses Dima came to the horse land. There are n horses living in the land. Each horse in the horse land