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:Time Limit Exceed 哪位高人给个好的算法In Reply To:Re:Time Limit Exceed 哪位高人给个好的算法 Posted by:wrong123 at 2006-01-06 21:35:19 确实有很多收获.不过我还有一些问题想问wrong123: " R---表示选择本order后,剩余价值--即最多还可得到多大收益"这里的R应该怎么计算? 还有:"if(total+p[i].R < max) return;",这个地方要return呢?我觉得接下来应该是考虑不选择本order的情况了吧? 谢谢! Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator