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

why "wa #11"?
Posted by lian lian 5 Nov 2008 03:34
who could give some testdata to me ?


3  3
9
10
11

result?

Edited by author 05.11.2008 04:11
Re: why "wa #11"?
Posted by SochiX 4 Dec 2008 17:34
My program have WA#11, please help?
I think that test is incorrect in previous post!
Re: why "wa #11"?
Posted by SochiX 4 Dec 2008 17:50
I've got AC.
Try test like:
1 -1
100
Result:201 1
1 1
-100
Result:1 201
Re: why "wa #11"?
Posted by Azizbekyan Andranik 9 Jul 2010 17:01
@lian lian
that test is wrong,because the problem says,that there exists answer in any ocassion,but in this test you don't have negative values,so you can't count the quantity of moves...



Edited by author 09.07.2010 17:03
Re: why "wa #11"?
Posted by sergovoy 10 Dec 2016 18:06
3 2003

Edited by author 10.12.2016 18:09