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:开个数组记录子树节点个数的最大值,否则每次深搜开临时变量去算,会TLE。。 Posted by:908997989 at 2016-02-29 10:14:48 从科学的角度讲,统计子节点数是O(n)的,不会影响效率的数量级 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator