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:第一次写位运算类型的BFS....顺便发下位运算的状态转移函数

Posted by phoenixwright at 2008-09-30 16:47:42 on Problem 1753
In Reply To:第一次写位运算类型的BFS....顺便发下位运算的状态转移函数 Posted by:majia5 at 2008-07-24 11:42:35
偶的状态转移。。。
const int change[][4] = {{51200, 58368, 29184, 12544}, {35968, 20032, 10016, 4880}, {2248, 1252, 626, 305}, {140, 78, 39, 19}};
for(i = 0; i < 4; i++)
	for(j = 0; j < 4; j++)
		tmp = front ^ change[i][j];

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