Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Sorry for misrepresent the problem!

Posted by chipmunk at 2008-02-09 23:37:46
In Reply To:Does Anyone Knows The Solution to This Problem? Posted by:chipmunk at 2008-02-06 00:11:50
In fact, it means that two 'X' -- named A and B -- can be put in different '#'s if and only if both the positions (row_A,column_B) and 
(row_B,column_A) is not '#' -- instead of 'X'.

Sorry for described it incorrectly. I made a false analogue of 8 queens problem. It is quite different from 8 queens problem.


Does anyone knows the solutions?
Many Thanks!


> A square chess-borad is givern. It is diagonal symetric with striples
>  of '#' and '.'. An 'X' can be placed on to the '#', but without having 
> the same row or column with other 'X' placed before (like famous eight 
> queen problem :-)).
>  
> An example is below:
>  
> #...#..##
> ...#..##.
> ..#..##..
> .#..##..#
> #..##..#.
> ..##..#..
> .##..#..#
> ##..#..##
> #..#..##.
>  
> To this instance, the answer is 4 as follows:
> 
> X...#..##
> ...X..##.
> ..X..##..
> .X..##..#
> #..##..#.
> ..##..#..
> .##..#..#
> ##..#..##
> #..#..##.
> 
> Given a such chessborad of size n, how to solve it efficiently?
> Any comment or hint is welcome!
> Bow!

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator