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 mixter at 2006-08-05 21:08:26 on Problem 2926
In Reply To:没想明白,能不能简单说一下? Posted by:RoBa at 2006-08-05 19:28:08
假设最大结果是x跟y.|x-y|.....的值最大时,必然可以展开表示为xi跟yi的某个组合,也就是32种可能中的1种,枚举32种情况再排序,这个最大结果必然在其中,得到的64个结果拿来枚举..我是这样做的,做的效率很低

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