Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:一减枝超厉害,从tle到16ms acIn 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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator