贪心
ぺdepths°
日拱一卒,功不唐捐!
展开
-
Balanced Removals(harder) //贪心
传送站 题面: This is a harder version of the problem. In this version, n≤50000. There are n distinct points in three-dimensional space numbered from 1 to n. The i-th point has coordinates (xi,yi,zi). The n...原创 2019-10-19 10:33:30 · 153 阅读 · 0 评论 -
Schedule(贪心/multiset的用法)
There are N schedules, the i-th schedule has start time si and end time ei (1 <= i <= N). There are some machines. Each two overlapping schedules cannot be performed in the same machine. For eac...原创 2019-08-01 22:00:01 · 414 阅读 · 0 评论