├── DP ├── BackPack(背包).cpp └── 次小生成树.cpp ├── DataStruct ├── DLX(精确覆盖).cpp ├── DLX(重复覆盖).cpp ├── LCT.cpp ├── RMQ_2D.cpp ├── RMQ一维.cpp ├── Splay.cpp ├── ZXtree(动态Kth).cpp ├── ZXtree(静态Kth).cpp ├── 划分树.cpp ├── 树状数组改段求段.cpp ├── 树链剖分(点权维护).cpp ├── 树链剖分(边权维护最值).cpp └── 线段树2D.cpp ├── Geometry ├── 多边形.cpp ├── 最近点对.cpp └── 点线圆.cpp ├── Graph ├── 2-SAT(DFS).cpp ├── Bellman_ford.cpp ├── Dinic.cpp ├── Edmonds.cpp ├── Hopcroft-Karp.cpp ├── ISAP-quick_version.cpp ├── KM.cpp ├── LCA(倍增).cpp ├── MCS.cpp ├── MaxFlow(ISAP).cpp ├── MinCostMaxFlow.cpp ├── SPFA.cpp ├── Tree_Hash.cpp ├── dijkstra.cpp ├── floyd.cpp ├── hungary.cpp ├── kruscal.cpp ├── prim.cpp ├── tarjanLCA.cpp ├── tarjan无向图缩块.cpp ├── tarjan求桥及割点.cpp ├── tarjan连通块个数.cpp ├── 最小树形图.cpp ├── 最小生成树计数.cpp ├── 生成树计数.cpp ├── 网络流杂项.md └── 链式前向星.cpp ├── Math ├── BSGS.cpp ├── China_Remain.cpp ├── FFT.cpp ├── Gauss(%2).cpp ├── Gauss(double).cpp ├── Lucas.cpp ├── Miller_Rabin_and_RHO.cpp ├── Moblus.cpp ├── Simpson.cpp ├── euler_phi.cpp └── ex_gcd.cpp ├── README.md ├── STRING ├── AC自动机.cpp ├── Hash.cpp ├── Palindrome_tree.cpp ├── SAM.cpp ├── Trie.cpp ├── ex_kmp.cpp ├── kmp.cpp ├── manacher.cpp └── 后缀数组的倍增法(da).cpp └── TOOL ├── C++大数类.cpp ├── vim ├── molokai.vim ├── solarized.vim └── 我的vimrc ├── vimrc └── 离散化.cpp /DP/BackPack(背包).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DP/BackPack(背包).cpp -------------------------------------------------------------------------------- /DP/次小生成树.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DP/次小生成树.cpp -------------------------------------------------------------------------------- /DataStruct/DLX(精确覆盖).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/DLX(精确覆盖).cpp -------------------------------------------------------------------------------- /DataStruct/DLX(重复覆盖).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/DLX(重复覆盖).cpp -------------------------------------------------------------------------------- /DataStruct/LCT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/LCT.cpp -------------------------------------------------------------------------------- /DataStruct/RMQ_2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/RMQ_2D.cpp -------------------------------------------------------------------------------- /DataStruct/RMQ一维.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/RMQ一维.cpp -------------------------------------------------------------------------------- /DataStruct/Splay.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/Splay.cpp -------------------------------------------------------------------------------- /DataStruct/ZXtree(动态Kth).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/ZXtree(动态Kth).cpp -------------------------------------------------------------------------------- /DataStruct/ZXtree(静态Kth).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/ZXtree(静态Kth).cpp -------------------------------------------------------------------------------- /DataStruct/划分树.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/划分树.cpp -------------------------------------------------------------------------------- /DataStruct/树状数组改段求段.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/树状数组改段求段.cpp -------------------------------------------------------------------------------- /DataStruct/树链剖分(点权维护).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/树链剖分(点权维护).cpp -------------------------------------------------------------------------------- /DataStruct/树链剖分(边权维护最值).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/树链剖分(边权维护最值).cpp -------------------------------------------------------------------------------- /DataStruct/线段树2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/DataStruct/线段树2D.cpp -------------------------------------------------------------------------------- /Geometry/多边形.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Geometry/多边形.cpp -------------------------------------------------------------------------------- /Geometry/最近点对.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Geometry/最近点对.cpp -------------------------------------------------------------------------------- /Geometry/点线圆.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Geometry/点线圆.cpp -------------------------------------------------------------------------------- /Graph/2-SAT(DFS).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/2-SAT(DFS).cpp -------------------------------------------------------------------------------- /Graph/Bellman_ford.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/Bellman_ford.cpp -------------------------------------------------------------------------------- /Graph/Dinic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/Dinic.cpp -------------------------------------------------------------------------------- /Graph/Edmonds.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/Edmonds.cpp -------------------------------------------------------------------------------- /Graph/Hopcroft-Karp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/Hopcroft-Karp.cpp -------------------------------------------------------------------------------- /Graph/ISAP-quick_version.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/ISAP-quick_version.cpp -------------------------------------------------------------------------------- /Graph/KM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/KM.cpp -------------------------------------------------------------------------------- /Graph/LCA(倍增).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/LCA(倍增).cpp -------------------------------------------------------------------------------- /Graph/MCS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/MCS.cpp -------------------------------------------------------------------------------- /Graph/MaxFlow(ISAP).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/MaxFlow(ISAP).cpp -------------------------------------------------------------------------------- /Graph/MinCostMaxFlow.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/MinCostMaxFlow.cpp -------------------------------------------------------------------------------- /Graph/SPFA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/SPFA.cpp -------------------------------------------------------------------------------- /Graph/Tree_Hash.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/Tree_Hash.cpp -------------------------------------------------------------------------------- /Graph/dijkstra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/dijkstra.cpp -------------------------------------------------------------------------------- /Graph/floyd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/floyd.cpp -------------------------------------------------------------------------------- /Graph/hungary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/hungary.cpp -------------------------------------------------------------------------------- /Graph/kruscal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/kruscal.cpp -------------------------------------------------------------------------------- /Graph/prim.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/prim.cpp -------------------------------------------------------------------------------- /Graph/tarjanLCA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/tarjanLCA.cpp -------------------------------------------------------------------------------- /Graph/tarjan无向图缩块.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/tarjan无向图缩块.cpp -------------------------------------------------------------------------------- /Graph/tarjan求桥及割点.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/tarjan求桥及割点.cpp -------------------------------------------------------------------------------- /Graph/tarjan连通块个数.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/tarjan连通块个数.cpp -------------------------------------------------------------------------------- /Graph/最小树形图.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/最小树形图.cpp -------------------------------------------------------------------------------- /Graph/最小生成树计数.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/最小生成树计数.cpp -------------------------------------------------------------------------------- /Graph/生成树计数.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/生成树计数.cpp -------------------------------------------------------------------------------- /Graph/网络流杂项.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/网络流杂项.md -------------------------------------------------------------------------------- /Graph/链式前向星.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Graph/链式前向星.cpp -------------------------------------------------------------------------------- /Math/BSGS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/BSGS.cpp -------------------------------------------------------------------------------- /Math/China_Remain.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/China_Remain.cpp -------------------------------------------------------------------------------- /Math/FFT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/FFT.cpp -------------------------------------------------------------------------------- /Math/Gauss(%2).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/Gauss(%2).cpp -------------------------------------------------------------------------------- /Math/Gauss(double).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/Gauss(double).cpp -------------------------------------------------------------------------------- /Math/Lucas.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/Lucas.cpp -------------------------------------------------------------------------------- /Math/Miller_Rabin_and_RHO.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/Miller_Rabin_and_RHO.cpp -------------------------------------------------------------------------------- /Math/Moblus.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/Moblus.cpp -------------------------------------------------------------------------------- /Math/Simpson.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/Simpson.cpp -------------------------------------------------------------------------------- /Math/euler_phi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/euler_phi.cpp -------------------------------------------------------------------------------- /Math/ex_gcd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/Math/ex_gcd.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/README.md -------------------------------------------------------------------------------- /STRING/AC自动机.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/STRING/AC自动机.cpp -------------------------------------------------------------------------------- /STRING/Hash.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/STRING/Hash.cpp -------------------------------------------------------------------------------- /STRING/Palindrome_tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/STRING/Palindrome_tree.cpp -------------------------------------------------------------------------------- /STRING/SAM.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/STRING/SAM.cpp -------------------------------------------------------------------------------- /STRING/Trie.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/STRING/Trie.cpp -------------------------------------------------------------------------------- /STRING/ex_kmp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/STRING/ex_kmp.cpp -------------------------------------------------------------------------------- /STRING/kmp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/STRING/kmp.cpp -------------------------------------------------------------------------------- /STRING/manacher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/STRING/manacher.cpp -------------------------------------------------------------------------------- /STRING/后缀数组的倍增法(da).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/STRING/后缀数组的倍增法(da).cpp -------------------------------------------------------------------------------- /TOOL/C++大数类.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/TOOL/C++大数类.cpp -------------------------------------------------------------------------------- /TOOL/vim/molokai.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/TOOL/vim/molokai.vim -------------------------------------------------------------------------------- /TOOL/vim/solarized.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/TOOL/vim/solarized.vim -------------------------------------------------------------------------------- /TOOL/vim/我的vimrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/TOOL/vim/我的vimrc -------------------------------------------------------------------------------- /TOOL/vimrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/TOOL/vimrc -------------------------------------------------------------------------------- /TOOL/离散化.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CKboss/MyAcmTemplate/HEAD/TOOL/离散化.cpp --------------------------------------------------------------------------------