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 1642. 1D Maze

test case
Posted by Levan Arabuli [Tbilisi SU] 28 Jul 2011 13:16
1 2
5

ans?

right = 2, but left?
Read problem statement carefully.
Posted by daftcoder [Yaroslavl SU] 28 Jul 2011 13:25
"It is guaranteed that 1D person will encounter either obstacle or exit point sooner or later regardless of the initial direction."