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:我的想法清晰,但超时了,哪位大牛帮我看看,不好意思贴出代码In Reply To:我的想法清晰,但超时了,哪位大牛帮我看看,不好意思贴出代码 Posted by:ccnu_xieshuo at 2008-04-30 22:01:10 你的不是动态规划吧,而且getmax这个函数写到外面会加大时间的开支,因为一直连续的调用, 建议把getmax的判断直接写到main里面去,循环用一个就行 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator