ICPC Book¶
竞赛算法速查 · 找到模板,查看约定,抄写实现。
Prelude 1¶
The public contest entry point for common includes, aliases, and helpers.
Data Structure 59¶
Range-query structures and union-find variants.
Graph 65¶
Tree techniques, graph decompositions, matching, and path algorithms.
best_theorem · bipartite_decomposition · bipartite_edge_coloring
String 15¶
Pattern matching, hashing, automata, and string factorization.
Math 81¶
Modular arithmetic, number theory, combinatorics, and convolution.
Geometry 15¶
Planar and three-dimensional primitives, polygons, and circles.
DP 3¶
Reusable dynamic-programming routines and common sequence problems.
knapsack · longest_common_subsequence · longest_increasing_subsequence
Optimization 8¶
Techniques for accelerating searches, transitions, and convolutions.
Utility 5¶
Common includes, debugging helpers, and random-number utilities.