ENG  RUSTimus Online Judge
Online Judge
Online contests
About Online Judge
Frequently asked questions
Site news
Problem set
Submit solution
Judge status
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
back to board

Discussion of Problem 1298. Knight

What's wrong with test #3?
Posted by [SESC USU] Komarov && Kantorov 12 Sep 2005 23:15
I solved this problem using backtracking with optimization( you start from some position and then you go to the position that has the fewest future possible moves...//from other post). But it's WA 3. Then I checked the answers of my program myself and all was correct.Then I wrote a simple checker for this problem. And it said all right. Then I tried to save the answers(firstly my answers then answers from forum) as the constants in the program. And the answer was WA 3 again. Help me, please!!!

P.S. Sorry for my English.

Edited by author 12.09.2005 23:16

Edited by author 12.09.2005 23:21
Tests are correct (+)
Posted by Vladimir Yakovlev (USU) 13 Sep 2005 02:12
But your solution is wrong!
Re: Tests are correct (+)
Posted by Brainfuck 13 Sep 2005 15:20
Thank you for answer. I found the mistake in my code and now  I got AC!
Re: Tests are correct (+)
Posted by FlashKa 27 Dec 2006 22:40
At me the same problem!!!
I do not know in what a mistake. Help, please.
Re: What's wrong with test #3?
Posted by Dmitry Gladkov 11 Jun 2018 21:54
N = 1