46 lines
1.3 KiB
Text
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
|
|
|