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 |
分成两组, 分别convexhull, 每组节点数m1, m2, 然后m1*m2的暴力算法居然可以875MS过m1*m2的暴力枚举感觉可以优化成m1+m2, 毕竟已经是两个convexhull了, 或者min(m1log(m2), m2log(m1)), AC了,感觉一下子没动力了。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator