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 1034. Queens in Peaceful Positions

Rearrange EXACTLY three queens!
Posted by Sergey Baskakov, Raphail and Denis 1 May 2005 02:28
I was not attentive reading this problem's situations, so I did not pay enough attention to the fact, that EXACTLY three queens should be rearranged. My first solution did count situations, when only two queens were moved... It produced a WA (-:
Re: Rearrange EXACTLY three queens!
Posted by Cuac!++ 6 Apr 2008 05:06
Well, i think that you can simulate the 2 movements rearrangement, with exactly 3 queens, i think this problem statement should be clarified in that sense.
If you have a queen "a" in position 0 0, another "b" in position 1 1 and a last "c" in position 2 2... in a N=3 chessboard, you can put a in position 1 2, b in position 0 0 and c in position 2 1. Its like a 2 queens movement, but i moved 3 queens.
Re: Rearrange EXACTLY three queens!
Posted by ErOPb|4[USU] 8 Mar 2010 18:13
This test is incorrect because queen "a" attacks "b"

Edited by author 15.03.2010 20:52
Re: Rearrange EXACTLY three queens!
Posted by bill125 24 Jan 2012 18:59
This hint has helped me to AC.thx