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:lovezqian at 2007-03-08 22:28:42 > 确实有很多收获.不过我还有一些问题想问wrong123: > " R---表示选择本order后,剩余价值--即最多还可得到多大收益"这里的R应该怎么计算? > 还有:"if(total+p[i].R < max) return;",这个地方要return呢?我觉得接下来应该是考虑不选择本order的情况了吧? > 谢谢! 对啊 这里怎么设置r呢? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator