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 19901011 at 2010-05-26 16:31:45 on Problem 2488
In Reply To:输出要注意 字典序 因此搜索顺序要弄好! Posted by:search_killer at 2010-04-04 12:00:11
> int dx[8] = {-1, 1, -2, 2, -2, 2, -1, 1};
> int dy[8] = {-2, -2, -1, -1, 1, 1, 2, 2};
为啥按这个顺序搜就是字典序啊?

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