Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这道题就是产生式系统,每次枚举16个棋子.建议在加入队列中先判重,最好用Hash表判重. 状态的表示我用的二进制来表示,比如 bbbw wbwb wbwb bwbb就可以表示成1110010101011011(b=1,w=0),这样状态转移就方便了。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator