Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:退化是为什么????我写的Tle了,内存用太大了......

Posted by wzc1989 at 2008-09-25 16:44:44 on Problem 2155
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator