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:退化是为什么????我写的Tle了,内存用太大了......In Reply To:方法1和2都会退化的,就不能得到logN^2了。。。 Posted by:isotope at 2006-02-20 11:10:44 我是用第二种写的....TLE 不过我内存用了 50多M,我觉得应该是MLE的...嘿嘿 我不知道怎么优化,一个节点保存了7个int,开了2000000的空间, 因为我用1000时候这棵树的节点就有差不多那么多了,不知道改怎么修改....... Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator