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 |
这个题数据还是比较水的~~~最近发现一组数据: 5 1 1 1 2 1 3 1 5 5 ans = 3 但是我之前能A的过不了这个.... 仔细发现是建树的时候区间没对, 是设的1-n, 而实际上是离散化后的数组大小... 幸好发现了... Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator