|
|
вернуться в форумWrong Answer #3 Послано Reza 12 мар 2009 16:12 Hi, I got WA at test #3. I have applied all of the samples above to the algorithm and the program output the correct result. Any body can help me? Re: Wrong Answer #3 Послано Reza 12 мар 2009 16:14 I meant by above to the samples in the last posts. Re: Wrong Answer #3 Послано LSBG 30 авг 2009 13:54 Here are some tests that helped me pass test number 3: Input: 8 2 4 1 7 0 0 2 3 4 6 6 Output: 2 Input: 10 2 4 1 5 0 1 4 7 8 Output: 3 Input: 20 20 2 1 1 0 Output: 0 Re: Wrong Answer #3 Here are some tests that helped me pass test number 3: Input: 8 2 4 1 7 0 0 2 3 4 6 6 Output: 2 Input: 10 2 4 1 5 0 1 4 7 8 Output: 3 Input: 20 20 2 1 1 0 Output: 0 first and second tests are not correct. Worms cross themself. Edited by author 14.03.2010 03:51 |
|
|