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: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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator