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:根据贪心写的算法,用正确的代码来测试,测了十几分钟也没有找到错误?????提交就WR,真郁闷啊.In Reply To:根据贪心写的算法,用正确的代码来测试,测了十几分钟也没有找到错误?????提交就WR,真郁闷啊. Posted by:411465294 at 2006-10-01 21:31:47 注意下面这个例子 4 1 0 0 0 0 1 1 1 1 1 2 3 我第一次wrong就是没处理全0的情况因为最优值初始化为0了,所以记录不到答案 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator