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

这题就DP,很快就过了.

Posted by humanjustic at 2007-03-27 08:44:07 on Problem 1014
首先求总和,若为奇数则不可分,若为偶数,求出其一半mid.然后DP求出mid是否由这些相加可达.是的话,可分.不是则不可分

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