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/5_Plat/LC.mdx
Benjamin Qi 0c1d150c1b ++
2020-07-18 23:32:24 -04:00

53 lines
1.9 KiB
Text

---
id: LC
title: "LineContainer"
author: Benjamin Qi
description: Convex Containers
prerequisites:
- convex-hull
frequency: 1
---
import { Problem } from "../models";
export const metadata = {
problems: {
sample: [
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, [], ""),
],
probs: [
new Problem("YS", "Segment Add Get Min", "segment_add_get_min", "Normal", false, [], ""),
new Problem("CSA", "Building Bridges", "building-bridges", "Normal", false, [], ""),
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, [], ""),
]
}
};
## Half-Plane Intersection
<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 problems={metadata.problems.half} />
## LineContainer
<Problems problems={metadata.problems.sample} />
<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>
## Problems
<Problems problems={metadata.problems.probs} />
https://atcoder.jp/contests/arc066/tasks/arc066_d