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 1498. Stroke at Full Speed

Question on subject
Posted by Semm 5 Jul 2016 15:18
Can the knight run back and forward on the segment? Does it count as run up?

Example:

The monster is at (1,3), the knight is at (1,1)

If the knight does
(1,1) -> (1,2) -> (1,1) -> (1,2) -> Strike
the strike force is 4 or 2?

Thanks in advance
Re: Question on subject
Posted by Semm 5 Jul 2016 17:04
Got AC, the answer is 2