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:1月份做的,之前一直RE,线段树开了3倍,今天来重新想这题,试着把数组开大,尽然过了。原来要开4倍啊。唉,以前开3倍都对的。In Reply To:1月份做的,之前一直RE,线段树开了3倍,今天来重新想这题,试着把数组开大,尽然过了。原来要开4倍啊。唉,以前开3倍都对的。 Posted by:yygy at 2013-09-06 16:27:59 貌似线段树内存的上界是 >=2*N的最小的 2的幂,所以最好开4倍是比较安全的 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator