For all you lazy fooks who copy-pastes codes in programming contests
only cpp ofcourse
why would you use any other language
files suffixed with _nb
is for notebook (i.e. shorter)
- main.cpp
- pragma, define, random, getnum, etc
- ultimateFastPointerGuide.cpp
- take a guess!
- data structures and decompositions
- BIT/fenwick tree
- li chao tree + the dynamic version
- dsu on tree
- hld
- segment tree (just a template)
- efficient segment tree
- treap
- dynamic programming
- convex hull trick
- dnc
- knuth yao
- sos
- geometry
- graph
- dinic
- mcmf - dinic style
- hungarian
- tarjan
- 2-sat
- math & some random stuff
- modular
- basic modular arithmetics
- fft & ntt
- includes fft + ntt + polynom multiply
- fft that is unreadable and fast
- unreadable, but fast ;)
- rdn
- modular
- string
- aho corasick
- kmp
- manacher
- suffix array
- Z algorithm