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
2020-06-26 20:33:06 -04:00

46 lines
1.3 KiB
Text

---
id: LC
title: "LineContainer"
author: Benjamin Qi
description: Convex Containers
prerequisites:
- Platinum - Convex Hull
frequency: 1
---
import { Problem } from "../models";
export const metadata = {
problems: {
sample: [
new Problem("YS", "Line Add Get Min", "line_add_get_min", "Easy", false, [], ""),
],
probs: [
new Problem("YS", "Line Add Get Min", "segment_add_get_min", "Normal", false, [], ""),
new Problem("CSA", "Building Bridges", "building-bridges", "Normal", false, [], ""),
new Problem("Old Gold", "Fencing the Herd", "534", "Normal", false, [], ""),
]
}
};
## Half-Plane Intersection
- [Blogewoosh (Half-Plane Intersection w/ Ternary Search)](https://codeforces.com/blog/entry/61710)
- [Petr (Linear Half-Plane Intersection)](https://petr-mitrichev.blogspot.com/2016/07/a-half-plane-week.html)
## LineContainer
<problems-list problems={metadata.problems.sample} />
- [KACTL LineContainer](https://github.com/kth-competitive-programming/kactl/blob/master/content/data-structures/LineContainer.h)
- [Lichao Segment Tree](http://codeforces.com/blog/entry/51275?#comment-351510)
- [retrograd Half-Plane Set](https://codeforces.com/blog/entry/61710?#comment-457662)
## Problems
<problems-list problems={metadata.problems.probs} />
(add ICPC probs?)
TOKI problem