|
|
вернуться в форумNow suppose there are only 1 red and 1 white left, and it's Red's turn. He'll certainly push the white off the board. In this case, who is considered to win? A player loses, when he has to make his turn but cannot. So, in your example, Red makes their turn, and White cannot, so Red wins (-) Then could anyone help me see why I get WA #3 with this prog? I use binary representation of the chessboard. Edited by moderator 28.10.2004 02:55 I may be mistaking, but... (+) I believe you fill the white[] and red[] arrays in wrong order. When you're calculating white[p], you must have already had calculated red[p and go[i,j]], but it may happen that you hadn't. |
|
|