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

Discussion of Problem 1465. Pawn Game

boaz how to paly the chess? [4] // Problem 1465. Pawn Game 12 Aug 2006 13:08
how to paly the chess?
Tju_Rhythm Re: how to paly the chess? [3] // Problem 1465. Pawn Game 12 Aug 2006 13:26
co-ask
Ivankov Dmitry Re: how to paly the chess? [1] // Problem 1465. Pawn Game 12 Aug 2006 13:31
Pawn can
1) move one cell forward (if that cell is empty)
or
2) attack cell which is one step diagonally forward, and occupied by opponent's pawn (which is beaten and removed after attack; player's pawn is moved to the cell of beaten one)

In that problem if player can attack with one of his pawns he must attack in that turn.

Edited by author 12.08.2006 13:33
linandmin Re: how to paly the chess? // Problem 1465. Pawn Game 12 Aug 2006 14:41
I still don't understand.......
Sandro (USU) Re: how to paly the chess? // Problem 1465. Pawn Game 12 Aug 2006 13:36
A pawn can move one field along the vertical and beat one field along the diagonal. Black pawns move from i'th row to (i-1)'th only. White pawns move from i'th row to (i+1)'th only. The row number 1 is the bottom and the row number 3 is the top.