Skip to content

malfple/quickpastetemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages