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 |
第一题线段树,贡献6个WA...在此特别感谢黄鸟人... if(r<=mid) insertseg(2*v,l,r,c); else if(mid<l) insertseg(2*v+1,l,r,c); else { insertseg(2*v,l,mid,c); insertseg(2*v+1,mid+1,r,c); } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator