[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![LinkedIn][linkedin-shield]][linkedin-url]
This is my personal code library where I compiled **almost all** the important templates that you will need in Competitive Programming (saying almost just for courtesy). Most of the codes are originally written by me and some of them are collected from others but modified in a cleaner way.
It took me around 4 years to complete the list. Maybe each line is just a line to you but to me it tells a story of the excitements I had while learning those stuffs, the sleepless but fun nights I had to seek knowledge.
#### Why am I sharing this library?
- Just so that your learning path becomes a bit smoother.
- Knowledge hidden inside my head or codes in a private code-library will be useless when I am dead, so it's better to share those among people before I die.
Also, you can make me happy(as in to pay me) just by giving a star to the repository.
I believe that my coding style is pretty clean and readable, and furthermore, a few problem links are attached to most of the codes so that you can practice those problems. Best wishes, my friend <a href="https://emoji.gg/emoji/8771_blobheart"><img src="https://emoji.gg/assets/emoji/8771_blobheart.png" width="16px" height="16px" alt="blobheart"></a>.
## Topic List (For this Library, Must Check)
The topic lists for which I have created this library can be found [here](https://codeforces.com/blog/entry/95106). It also contains the relevant problems and tutorials of each topic. Upvote the attached blog if you think I have helped you somehow.
[contributors-shield]: https://img.shields.io/github/contributors/ShahjalalShohag/code-library.svg?style=for-the-badge
[contributors-url]: https://github.com/ShahjalalShohag/code-library/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/ShahjalalShohag/code-library.svg?style=for-the-badge
[forks-url]: https://github.com/ShahjalalShohag/code-library/network/members
[stars-shield]: https://img.shields.io/github/stars/ShahjalalShohag/code-library.svg?style=for-the-badge
[stars-url]: https://github.com/ShahjalalShohag/code-library/stargazers
[issues-shield]: https://img.shields.io/github/issues/ShahjalalShohag/code-library.svg?style=for-the-badge
[issues-url]: https://github.com/ShahjalalShohag/code-library/issues
[license-shield]: https://img.shields.io/github/license/ShahjalalShohag/code-library.svg?style=for-the-badge
[license-url]: https://github.com/ShahjalalShohag/code-library/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/ShahjalalShohag
没有合适的资源?快使用搜索试试~ 我知道了~
清楚易读的算法竞赛代码模板
共384个文件
cpp:367个
gitkeep:8个
docx:3个
需积分: 0 0 下载量 22 浏览量
2024-05-07
14:10:14
上传
评论
收藏 655KB ZIP 举报
温馨提示
This is the author's personal code library where he compiled almost all the important templates that you will need in Competitive Programming (saying almost just for courtesy). Most of the codes are originally written by him and some of them are collected from others but modified in a cleaner way.
资源推荐
资源详情
资源评论
收起资源包目录
清楚易读的算法竞赛代码模板 (384个子文件)
Geometry 2D.cpp 51KB
Geometry 3D.cpp 30KB
Polynomial.cpp 20KB
Sum of nCi for a Fixed Large n.cpp 18KB
Faulhaber Formula Fastest.cpp 16KB
BigInt.cpp 13KB
Stirling Number of the Second Kind for Fixed k.cpp 12KB
Top Tree.cpp 12KB
Voronoi Diagram.cpp 11KB
Bell Number.cpp 11KB
Subset Sum Problem.cpp 10KB
Point Location.cpp 9KB
Implicit Treap.cpp 9KB
Lagrange Interpolation with Polynomial Extraction.cpp 8KB
Sum of Arithmetic Progression Powers Divided.cpp 8KB
Segment Tree Beats.cpp 8KB
Linear Recurrence With Polynomial Coefficients.cpp 8KB
Reeds Sloane Algorithm.cpp 8KB
Blossom Algorithm Weighted.cpp 7KB
q Binomial.cpp 7KB
Determinant of Sparse Matrix.cpp 7KB
Generalized Floor Sum of Arithmetic Progressions.cpp 7KB
Matroid Intersection Color Graphic Matroid.cpp 7KB
Simplex Algorithm.cpp 7KB
Edge Coloring Bipartite Graph Faster.cpp 7KB
Matroid Intersection Color Linear Matroid.cpp 7KB
All Pair Segment Intersection.cpp 6KB
Half Plane Intersection Dynamic.cpp 6KB
Link Cut Tree.cpp 6KB
L R Flow with MCMF.cpp 6KB
Suffix Array Isomorphic.cpp 6KB
Delaunay Triangulation.cpp 6KB
Min_25 Sieve.cpp 6KB
Permutation Tree.cpp 6KB
Chromatic Polynoimial.cpp 6KB
Characteristic Polynomial Faster.cpp 6KB
Dynamic Submask Count.cpp 5KB
Number of Palindromes in Range.cpp 5KB
Sum of C(a(i), k) for each k from 1 to n.cpp 5KB
Segment Tree with Arithmetic Progression.cpp 5KB
Suffix Array.cpp 5KB
Half Plane Intersection.cpp 5KB
SQRT Tree.cpp 5KB
Bitset Custom.cpp 5KB
Polynomial Sum.cpp 5KB
L R Flow with Dinic.cpp 5KB
Cactus Graph.cpp 5KB
Polynomial with Binomial Coefficients.cpp 5KB
FWHT in Ternary Base.cpp 5KB
Pisano Period.cpp 5KB
Matrix Exponentiation With Polynomial Coefficients.cpp 5KB
Onion Decomposition.cpp 5KB
Suffix Automaton Distinct Substring Queries in Range.cpp 5KB
Number of Solutions to a Basic Linear Algebraic Equation with Variable Upper Bound Constraints.cpp 5KB
Number of Solutions of A Equation MITM.cpp 5KB
Generating Function of a Linear Recurrence.cpp 5KB
K Divisors.cpp 5KB
NTT Online (D&C).cpp 5KB
BerleKamp Massey.cpp 5KB
Maximum of Sum of All Pair Distances of K nodes in a Tree.cpp 5KB
Dirichlet Convolution.cpp 5KB
Stirling Number of the Second Kind for Fixed n.cpp 5KB
Segment Tree Persistent Lazy.cpp 5KB
Min Cost Max Flow.cpp 4KB
Min Cost Max Flow with Negative Cycles.cpp 4KB
Hirschbergs Algorithm.cpp 4KB
Linear Recurrence Fastest.cpp 4KB
Vandermonde Matrix.cpp 4KB
Kirchoffs Theorem.cpp 4KB
Square Root Decomposition With Reverse Update.cpp 4KB
Blue Red Hackenbush.cpp 4KB
Tree Isomorphism.cpp 4KB
Hafnian of a Matrix.cpp 4KB
Negative Base (Binary).cpp 4KB
Prefix Sum Queries of nCi.cpp 4KB
Hafnian of a Matrix.cpp 4KB
Thomas Algorithm.cpp 4KB
String Hashing With Updates and Reverse.cpp 4KB
Gomory Hu Tree.cpp 4KB
Segment Tree 2D Dynamic.cpp 4KB
x2 +1 trick.cpp 4KB
Segment Tree Merging.cpp 4KB
Shortest Path That Doesnt Pass Through Each Edge.cpp 4KB
NTT With Any Prime MOD.cpp 4KB
Aho Corasick All Pair Occurrence Relation.cpp 4KB
Phi Field.cpp 4KB
Prime Basis.cpp 4KB
Centroid Decomposition Persistent.cpp 4KB
The Slime Trick.cpp 4KB
Chordal Graph.cpp 4KB
Online Articulation Bridges.cpp 4KB
Binarizing a Tree.cpp 4KB
Linear Recurrence.cpp 4KB
Maximum Closure Problem.cpp 4KB
NTT 2D.cpp 4KB
Path Intersection.cpp 4KB
Randomized Matching Weighted.cpp 4KB
Chinese Postman Problem.cpp 4KB
K-th Root of a Permutation.cpp 4KB
Reachability Tree.cpp 4KB
共 384 条
- 1
- 2
- 3
- 4
资源评论
num73
- 粉丝: 231
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功