Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

分成两组, 分别convexhull, 每组节点数m1, m2, 然后m1*m2的暴力算法居然可以875MS过

Posted by lddlinan at 2021-01-30 10:28:01 on Problem 4008
m1*m2的暴力枚举感觉可以优化成m1+m2, 毕竟已经是两个convexhull了, 或者min(m1log(m2), m2log(m1)), AC了,感觉一下子没动力了。。。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator