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 |
Re:第一次写位运算类型的BFS....顺便发下位运算的状态转移函数In Reply To:Re:第一次写位运算类型的BFS....顺便发下位运算的状态转移函数 Posted by:phoenixwright at 2008-09-30 16:47:42 > 偶的状态转移。。。 > 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]; simpler.. :) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator