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 |
看到297MS AC时感动得热内盈眶了...1987按边分治的代码TLE...然后改按点分治...还是TLE...想到可能是vector的原因于是自己封装vector 1987都要超过1s...最后终于想清楚了用3个数组来求... 从1987开始总共花了好几个小时...终于AC... 第一次写树上的归并...还真不好下手啊...感动. Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator