Skip to content
项目

关于

Clean minimalist implementations of popular competitive programming algorithms

学习与教育

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

algo

The snippets you are asked to code way too often in competitive programming.

Code is intentionally simplified (no references, templates, inheritance, try-catches or stuff like that) so that you do not need to read a 300 pages long book to understand it. You are supposed to just copy and paste it during contest with minimal changes.

Use at your own risk. I am pretty sure it at least compiles, but may contain minor bugs.

Pull requests are welcome, since I do not do contests so actively anymore.

TODO:

  • convex hull (!)
  • half-plane intersection
  • dinic's algorithm
  • long arithmetic
  • bridge finding (!)
  • minimum spanning tree
  • sqrt decomposition (!!)
  • string hashing
  • kth element in O(n)
  • bitset Gauss, bitset matmul (!)
  • better FFT or fast Karatsuba
  • persiistent data structures (!!)
  • dynamic connectivity (!)

探索相关项目

加载中…