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

Does Anyone Knows The Solution to This Problem?

Posted by chipmunk at 2008-02-06 00:11:50 and last updated at 2008-02-06 00:12:14
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