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 |
这样就给A了,见下面mid在两边都取,线段树得开到5倍来/*1151 Accepted 232K 0MS C++ 1864B 2010-09-26 20:53:30 */ //hdu能AC 在北大给WA了 看了DIs说要把 //静态线段树开到987,我便把 800改到 1200,居然给A了 //联系到hdu里开到800才A,对线段树的领悟得多些,这里的代码是mid在两边都取, //那么二分下去树的高度可想而知,并非以前的三倍那么简单;;学习了; Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator