|
|
back to boardSome tests are wrong!!! Posted by SIS 27 Oct 2004 00:18 Some tests are wrong: Test 59: Input: 8 c2 b4 a1 Output ( jury ): BLACK WINS // it isn't true Output ( my ): WHITE WINS // it is true See chessboard: ...... ...... .B.... ...... ..W... K..... White pawn can jump from c2 to c4. Black pawn can't block it. Then WHITE player WINs the game. Edited by author 27.10.2004 00:23 Edited by author 27.10.2004 00:24 You're wrong. Read problem definition carefully (+) "Just after the white pawn makes a move from x2 to x4, the black pawn may beat the white pawn en passant, moving from y4 to x3, if y is a vertical line, neighboring to the x-vertical." |
|
|