Skip to content

Latest commit

 

History

History
52 lines (45 loc) · 970 Bytes

README.md

File metadata and controls

52 lines (45 loc) · 970 Bytes

Quick-Paste Template

For all you lazy fooks who copy-pastes codes in programming contests

Languages

only cpp ofcourse

why would you use any other language

Index

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
  • string
    • aho corasick
    • kmp
    • manacher
    • suffix array
    • Z algorithm