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

Re:这道题就是产生式系统,每次枚举16个棋子.

Posted by xilee at 2007-08-14 08:59:45 on Problem 1753
In Reply To:这道题就是产生式系统,每次枚举16个棋子. Posted by:humanjustic at 2006-10-15 09:16:45
> 建议在加入队列中先判重,最好用Hash表判重.
> 状态的表示我用的二进制来表示,比如
> bbbw
> wbwb
> wbwb
> bwbb就可以表示成1110010101011011(b=1,w=0),这样状态转移就方便了。

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