This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
usaco-guide/content/6_Plat/LC.mdx

53 lines
1.9 KiB
Text
Raw Normal View History

2020-06-25 04:00:28 +00:00
---
id: LC
title: "LineContainer"
author: Benjamin Qi
2020-06-27 00:33:06 +00:00
description: Convex Containers
2020-06-25 04:00:28 +00:00
prerequisites:
- Platinum - Convex Hull
2020-06-26 18:00:32 +00:00
frequency: 1
2020-06-25 04:00:28 +00:00
---
2020-06-27 00:33:06 +00:00
import { Problem } from "../models";
export const metadata = {
problems: {
sample: [
2020-06-28 02:11:09 +00:00
new Problem("YS", "Line Add Get Min", "line_add_get_min", "Normal", false, [], ""),
],
half: [
new Problem("Kattis", "Marshland Rescues", "https://maps19.kattis.com/problems/marshlandrescues", "Normal", false, [], ""),
2020-06-27 00:33:06 +00:00
],
probs: [
2020-06-28 02:11:09 +00:00
new Problem("YS", "Segment Add Get Min", "segment_add_get_min", "Normal", false, [], ""),
2020-06-27 00:33:06 +00:00
new Problem("CSA", "Building Bridges", "building-bridges", "Normal", false, [], ""),
2020-06-30 20:25:02 +00:00
new Problem("TOKI", "Mall & Transportation", "https://tlx.toki.id/contests/troc-13-div-1/problems/D", "Very Hard", false, [], ""),
new Problem("Old Gold", "Fencing the Herd", "534", "Very Hard", false, [], ""),
2020-06-27 00:33:06 +00:00
]
}
};
## Half-Plane Intersection
2020-06-25 04:00:28 +00:00
2020-06-28 02:11:09 +00:00
<resources>
<resource source="CF" title="Blogewoosh - Half-Plane Intersection w/ Ternary Search" url="blog/entry/61710" starred></resource>
<resource source="Petr" title="Linear Half-Plane Intersection" url="https://petr-mitrichev.blogspot.com/2016/07/a-half-plane-week.html" starred>expected linear!</resource>
</resources>
<problems-list problems={metadata.problems.half} />
2020-06-27 00:33:06 +00:00
## LineContainer
<problems-list problems={metadata.problems.sample} />
2020-06-28 02:11:09 +00:00
<resources>
<resource source="KACTL" title="LineContainer" url="https://github.com/kth-competitive-programming/kactl/blob/master/content/data-structures/LineContainer.h" starred>code</resource>
<resource source="cp-algo" title="Lichao Tree" url="geometry/convex_hull_trick.html" starred> </resource>
<resource source="CF" title="retrograd - Half-Plane Set" url="blog/entry/61710?#comment-457662">code</resource>
</resources>
2020-06-27 00:33:06 +00:00
## Problems
2020-06-25 04:00:28 +00:00
2020-07-02 17:48:28 +00:00
<problems-list problems={metadata.problems.probs} />
https://atcoder.jp/contests/arc066/tasks/arc066_d