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 xxfeixiang at 2014-01-14 22:25:37 on Problem 1010
In Reply To:Re:一减枝超厉害,从tle到16ms ac Posted by:1120121860 at 2013-02-15 17:33:46
> 但是这就有问题了啊。
> 比如有五种邮票,面值都是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)等可能啊。
确实是,4个1结果是 1 1 1 1 ,而五个1结果应该TIE

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