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 1218. Episode N-th: The Jedi Tournament

WA#5
Posted by Zubyk Taras 24 Jun 2006 12:02
I do not understand why at me the wrong answer 5.
Somebody can help{assist} me? Here my code.
Help{Assist} please, I cannot find my mistake{error}.
Thanks beforehand!!!
Re: WA#5
Posted by Todor Tsonkov 24 Jul 2006 13:28
This Problem is not so hard, construct orientated graph that describes the situation and with DFS you can easily make it