CodeForces - 1321B Journey Planning(思维)

NoSuchKey