ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1905. Travel in Time

solution
Posted by Berezhko German 14 Oct 2012 12:52
dfs or bfs is the correct idea?
oh, i'm done with it (:
Edited by author 15.10.2012 15:14

Edited by author 15.10.2012 15:22
Re: solution
Posted by Denis 14 Oct 2012 16:44


Edited by author 14.10.2012 16:49
Re: solution
Posted by Harkonnen 7 Oct 2022 10:48
Yes, it's BFS with plenty of binary searches to build initial graph.