Coder Social home page Coder Social logo

cjdjr / algorithmic_template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lzyrapx/algorithmic_template

3.0 1.0 0.0 150 KB

🍭LzyRapx 's algorithmic library for competitive-programming. Some templates for ACMer, OIer, Algorithmser etc.

C++ 99.05% C 0.95%

algorithmic_template's Introduction

Algorithmic_Library

LzyRapx 's code Library for competitive-programming.

Black_magic

  • 手写bitset
  • fastIO
  • pb_ds
  • rope
  • 扩栈
  • O(1)快速乘

Class

  • BigInt
  • Frac
  • 对拍

DataStructure

  • CDQ分治
  • Dancing Links X (DLX)
  • HASH
  • KMP
  • LCA
  • LCT
  • Splay Tree
  • merge_sort

Geometry

  • 基本类型 - 点, 线
  • 多边形
  • 半平面交
  • 三维几何
  • 球面几何
  • 平面最近点对
  • 曼哈顿距离生成树
  • 最大空凸包
  • 平面图求域

Graph-theory

  • Connectivity
    • BCC
    • BCC_edge
    • BCC_vertex
    • Kosaraju
    • Tarjan_SCC
  • Flows and cuts
    • Dinic
    • Edmonds–Karp
    • Ford-Fulkerson
    • MinCostMaxFlow
    • edge-disjoint-path
    • maximum_flow_goldberg_tarjan
  • Matching
    • Kuhn-Munkras
    • Hungarian method (匈牙利算法)
  • Shortest-path
    • Bellman-Ford
    • Dijkstra
    • Floyd–Warshall
    • K短路
    • SPFA
  • Spanning-tree
    • Kruskal (MST和次小生成树)
    • prim
    • 曼哈顿距离MST

Mathematics

  • BSGS
  • Berlekamp-Massey
  • Berlekamp-Massey (杜教版)
  • CRT(模数不互质)
  • CRT(模数互质)
  • Cantor
  • Check_primitive_root
  • Dirichlet卷积
  • EX_BSGS
  • Euler_Function
  • Extends_GCD
  • FFT+CDQ
  • FFT大整数乘法
  • MTT
  • Fib数模n的循环节
  • Guass
  • [1,n]与a互素个数
  • bernoulli_number
  • factorial
  • gauss_elimination
  • 任意模数FFT+多项式取逆
  • 康拓展开和逆康拓展开
  • 快速幂
  • 杜教筛
  • 线性筛prime+phi+mu

String

  • AhoCorasick (AC自动机)
  • EX_KMP
  • KMP
  • LIS
  • Manacher
  • SA
  • String Hash
  • suffix array
  • 回文树
  • 动态Trie
  • 静态Trie

Others

algorithmic_template's People

Contributors

lzyrapx avatar

Stargazers

吴昌广 avatar Howie Wang avatar  avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.