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 lyz963254 at 2014-08-16 09:14:23 on Problem 2488
In Reply To:搞清楚一个字典序就行了,其余的很简单。 Posted by:xijunlee93 at 2013-03-19 16:37:46
> 这一题的字典序:就是先按列排序,较小的在前。然后按行排序,也是较小的在前。
> 我的排序是这样的:
> int diri[8]={-1,1,-2,2,-2,2,-1,1};
> int dirj[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