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 1643. Attack of the Dark Fortress

About Teleports
Posted by Maxim Dvoynishnikov (Dnipropetrovsk SU) 25 Oct 2008 16:19
Is it true that the army must use teleport? Or it can ignore teleport?
Re: About Teleports
No comment =)
See the first sample - there is an answer to your question
Re: About Teleports
Posted by Maxim Dvoynishnikov (Dnipropetrovsk SU) 25 Oct 2008 20:50
No! In samples no answer!
In the first sample Katherina's army needs 8 days to arrive to Fortress, if it can ignore teleport, and 11 days, if it must use teleport. Or 10 days (using both B-teleport).
At the same time Gelu's army arrives to Fortress using teleport at 11 days.
Hence in this sample Katherina's army can come by several ways.
Re: About Teleports
Oh, yes, now I see that you're right. It's an oversight of the author of the problem, of course. An army may not use teleports.
*
Posted by Maxim Dvoynishnikov (Dnipropetrovsk SU) 25 Oct 2008 23:47
Finally! My code was accepted.
For future solutions: the number of teleports may be more than two.
Re: *
Posted by IgorKoval(from Pskov) 1 Dec 2011 00:24
There may be also 1 teleport, 2 teleports, 3 teleports,..

Edited by author 01.12.2011 00:24