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

how to paly the chess?
Posted by boaz 12 Aug 2006 13:08
how to paly the chess?
Re: how to paly the chess?
Posted by Tju_Rhythm 12 Aug 2006 13:26
co-ask
Re: how to paly the chess?
Posted by Ivankov Dmitry 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
Re: how to paly the chess?
Posted by Sandro (USU) 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.
Re: how to paly the chess?
Posted by linandmin 12 Aug 2006 14:41
I still don't understand.......