|
|
back to boardCommon Boardproblem 1642 what if in one way we can reach , but on opposite way we can't? for example,what is output for this test? input: 0 3 Re: problem 1642 Your test is incorrect, such case is impossible. It is guaranteed that 1D person will encounter either obstacle or exit point sooner or later regardless of the initial direction. Re: problem 1642 you mean...such test is not exceed?...or i must output "impossible" when n is equal to Re: problem 1642 you mean...such test is not exceed?...or i must output "impossible" when n is equal to zero Re: problem 1642 There are no such tests. Re: problem 1642 but what is test 13?i got wrong answer in test 13... |
|
|