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 |
这题在POJ数据确实弱爆了啊,我交了个测试用的O(N^3)的代码居然32ms过了OTL = = 本来这题是可以O(N^2)的啊,比线段树更快 就是类似Shaping Regions的路径压缩优化 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator