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 1121. Branches

TL on Test#13
Posted by MultiThread 3 Oct 2006 22:26
I got TL on #13 :(. Does any body konw the test? I use BFS.
Re: TL on Test#13
Posted by The Punisher 29 Jul 2007 22:29
You should do only 5-6 steps of BFS. Not full BFS.
If the distance between start and end is greater than 6 you should stop BFS.