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:按一定顺序搜索完全可以解决!!

Posted by 444444 at 2006-08-19 21:33:26 on Problem 2488
In Reply To:按一定顺序搜索完全可以解决!! Posted by:sza at 2006-08-14 00:57:44
那请问用什么样的顺序?难道这样BFS不行吗?
const int dir_y[]={-2,-2,-1,-1,1,1,2,2};
const int dir_x[]={-1,1,-2,2,-2,2,-1,1};

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