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:WA的看几组数据,我开始排序加贪心做得WA了,后来用DFS+强剪枝提交几次WA了,但后来找到几组数据,修改后0msAC~本人菜鸟,多多交流In Reply To:WA的看几组数据,我开始排序加贪心做得WA了,后来用DFS+强剪枝提交几次WA了,但后来找到几组数据,修改后0msAC~本人菜鸟,多多交流 Posted by:loganberry at 2011-02-11 11:38:11 > Input: > 12 > 1 1 2 2 2 3 3 3 3 3 3 4 > > 27 > 15 3 2 4 11 1 8 8 8 15 3 2 4 11 1 8 8 8 15 3 2 4 11 1 8 8 8 > > 9 > 15 4 3 1 2 8 11 8 8 > > 45 > 15 3 2 11 4 1 8 8 8 15 3 2 11 4 1 8 8 8 15 3 2 11 4 1 8 8 8 15 3 2 11 4 1 8 8 8 > 15 3 2 11 4 1 8 8 8 > Output: > 6 > 20 > 20 > 20 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator