Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Convex Hull Trick #42

Closed
aftermaaath opened this issue Apr 23, 2023 · 1 comment · Fixed by #74
Closed

Add Convex Hull Trick #42

aftermaaath opened this issue Apr 23, 2023 · 1 comment · Fixed by #74
Assignees
Labels
proposal Proposal for new content

Comments

@aftermaaath
Copy link
Contributor

Outline

Introduction

斜率/查詢皆單調

說明斜率優化觀念、使用 deque

  • 點不用被 pop
  • 點需要被 pop

查詢不單調、斜率單調

使用二分搜

斜率不單調

  • 李超線段樹
  • 動態凸包
  • CDQ

/*
以上每個部分都有:

  • 例題
  • 提出觀察、列出&整理轉移式
  • 時間複雜度、實作細節
  • 範例 code
  • 總結作法與重點

*/

總結

  • 統整各情況、列出思考的步驟

Exercises

References

@harry900831
Copy link
Contributor

A problem that may related to this topic: https://onlinejudge.org/index.php?option=onlinejudge&Itemid=8&page=show_problem&problem=3547. It's ICPC World Finals 2011 problem.

@harry900831 harry900831 added the proposal Proposal for new content label May 8, 2023
@harry900831 harry900831 linked a pull request May 18, 2023 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal for new content
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants