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:一减枝超厉害,从tle到16ms ac

Posted by 1120121860 at 2013-02-15 17:33:46 on Problem 1010
In Reply To:一减枝超厉害,从tle到16ms ac Posted by:yuanluliao at 2010-08-07 18:50:01
> 如果有相同价值的邮票数超过4中的话可以不要再增加这种价值的邮票啊!!!!!!
但是这就有问题了啊。
比如有五种邮票,面值都是1.记为1(1),1(2),1(3),1(4),1(5)
现在要找面值是4的分配
显然应该分配4张1,如果剪枝的话结果就是1(1),1(2),1(3),1(4),
但实际还有1(2),1(3),1(4),1(5);1(2),1(3),1(4),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