|
|
вернуться в форум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 But your solution is wrong! Thank you for answer. I found the mistake in my code and now I got AC! At me the same problem!!! I do not know in what a mistake. Help, please. |
|
|