forked from OI-wiki/OI-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
511 lines (501 loc) · 17.7 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
# Project Information
site_name: OI Wiki
site_description: OI Wiki 是一个编程竞赛知识整合站点,提供有趣又实用的编程竞赛知识以及其他有帮助的内容,帮助广大编程竞赛爱好者更快更深入地学习编程竞赛
site_author: OI Wiki Team
site_url: https://oi-wiki.org
strict: true
# Repository
repo_name: 'OI-wiki/OI-wiki'
repo_url: 'https://github.com/OI-wiki/OI-wiki'
edit_uri: 'https://oi-wiki.org/edit-landing/?ref='
# Copyright
copyright: 'Copyright © 2016 - 2021 OI Wiki Team'
google_analytics:
- 'UA-124485594-1'
- 'auto'
# Contents
nav:
- 简介:
- Getting Started: index.md
- 关于本项目: intro/about.md
- 如何参与: intro/htc.md
- 格式手册: intro/format.md
- F.A.Q.: intro/faq.md
- 用 Docker 部署 OI Wiki: intro/docker-deploy.md
- 致谢: intro/thanks.md
- 比赛相关:
- 比赛相关简介: contest/index.md
- 赛事:
- OI 赛事与赛制: contest/oi.md
- ICPC/CCPC 赛事与赛制: contest/icpc.md
- 题型:
- 题型概述: contest/problems.md
- 交互题: contest/interaction.md
- 学习路线: contest/roadmap.md
- 学习资源: contest/resources.md
- 技巧:
- 读入、输出优化: contest/io.md
- 常见错误: contest/common-mistakes.md
- 常见技巧: contest/common-tricks.md
- 出题相关:
- 出题: contest/problemsetting.md
- 工具软件:
- 工具软件简介: tools/index.md
- 代码编辑工具:
- Vim: tools/editor/vim.md
- Emacs: tools/editor/emacs.md
- VS Code: tools/editor/vscode.md
- Atom: tools/editor/atom.md
- Eclipse: tools/editor/eclipse.md
- Notepad++: tools/editor/npp.md
- Dev-C++: tools/editor/devcpp.md
- Geany: tools/editor/geany.md
- Xcode: tools/editor/xcode.md
- GUIDE: tools/editor/guide.md
- 评测工具: tools/judgers.md
- 命令行: tools/cmd.md
- WSL (Windows 10): tools/wsl.md
- Special Judge: tools/special-judge.md
- Testlib:
- Testlib 简介: tools/testlib/index.md
- 通用: tools/testlib/general.md
- Generator: tools/testlib/generator.md
- Validator: tools/testlib/validator.md
- Interactor: tools/testlib/interactor.md
- Checker: tools/testlib/checker.md
- Polygon: tools/polygon.md
- OJ 工具: tools/oj-tool.md
- LaTeX 入门: tools/latex.md
- 语言基础:
- 语言基础简介: lang/index.md
- C++ 基础:
- Hello, World!: lang/helloworld.md
- C++ 语法基础: lang/basic.md
- 变量: lang/var.md
- 运算: lang/op.md
- 流程控制语句:
- 分支: lang/branch.md
- 循环: lang/loop.md
- 高级数据类型:
- 数组: lang/array.md
- 结构体: lang/struct.md
- 指针: lang/pointer.md
- 函数: lang/func.md
- 文件操作: lang/file-op.md
- C++ 标准库:
- C++ 标准库简介: lang/csl/index.md
- STL 容器:
- STL 容器简介: lang/csl/container.md
- 迭代器: lang/csl/iterator.md
- 序列式容器: lang/csl/sequence-container.md
- 关联式容器: lang/csl/associative-container.md
- 无序关联式容器: lang/csl/unordered-container.md
- 容器适配器: lang/csl/container-adapter.md
- STL 算法: lang/csl/algorithm.md
- bitset: lang/csl/bitset.md
- string: lang/csl/string.md
- C++ 进阶:
- 类: lang/class.md
- 命名空间: lang/namespace.md
- 重载运算符: lang/op-overload.md
- 引用: lang/reference.md
- 常值: lang/const.md
- 新版 C++ 特性: lang/new.md
- pb_ds:
- pb_ds 简介: lang/pb-ds/index.md
- 堆: lang/pb-ds/pq.md
- 平衡树: lang/pb-ds/tree.md
- C 与 C++ 区别: lang/c-cpp.md
- Pascal 转 C++ 急救: lang/pas-cpp.md
- Python 速成: lang/python.md
- Java 速成: lang/java.md
- 算法基础:
- 算法基础简介: basic/index.md
- 枚举: basic/enumerate.md
- 模拟: basic/simulate.md
- 递归 & 分治: basic/divide-and-conquer.md
- 贪心: basic/greedy.md
- 排序:
- 排序简介: basic/sort-intro.md
- 选择排序: basic/selection-sort.md
- 冒泡排序: basic/bubble-sort.md
- 插入排序: basic/insertion-sort.md
- 计数排序: basic/counting-sort.md
- 基数排序: basic/radix-sort.md
- 快速排序: basic/quick-sort.md
- 归并排序: basic/merge-sort.md
- 堆排序: basic/heap-sort.md
- 桶排序: basic/bucket-sort.md
- 希尔排序: basic/shell-sort.md
- 锦标赛排序: basic/tournament-sort.md
- 排序相关 STL: basic/stl-sort.md
- 排序应用: basic/use-of-sort.md
- 前缀和 & 差分: basic/prefix-sum.md
- 二分: basic/binary.md
- 倍增: basic/binary-lifting.md
- 构造: basic/construction.md
- 搜索:
- 搜索部分简介: search/index.md
- DFS(搜索): search/dfs.md
- BFS(搜索): search/bfs.md
- 双向搜索: search/bidirectional.md
- 启发式搜索: search/heuristic.md
- A*: search/astar.md
- 迭代加深搜索: search/iterative.md
- IDA*: search/idastar.md
- 回溯法: search/backtracking.md
- Dancing Links: search/dlx.md
- 优化: search/opt.md
- 动态规划:
- 动态规划部分简介: dp/index.md
- 动态规划基础: dp/basic.md
- 记忆化搜索: dp/memo.md
- 背包 DP: dp/knapsack.md
- 区间 DP: dp/interval.md
- DAG 上的 DP: dp/dag.md
- 树形 DP: dp/tree.md
- 状压 DP: dp/state.md
- 数位 DP: dp/number.md
- 插头 DP: dp/plug.md
- 计数 DP: dp/count.md
- 动态 DP: dp/dynamic.md
- 概率 DP: dp/probability.md
- DP 优化:
- 单调队列/单调栈优化: dp/opt/monotonous-queue-stack.md
- 斜率优化: dp/opt/slope.md
- 四边形不等式优化: dp/opt/quadrangle.md
- 状态设计优化: dp/opt/state.md
- 其它 DP 方法: dp/misc.md
- 字符串:
- 字符串部分简介: string/index.md
- 字符串基础: string/basic.md
- 标准库: string/lib-func.md
- 字符串匹配: string/match.md
- 字符串哈希: string/hash.md
- 字典树 (Trie): string/trie.md
- 前缀函数与 KMP 算法: string/kmp.md
- Boyer-Moore算法: string/bm.md
- Z 函数(扩展 KMP): string/z-func.md
- 自动机: string/automaton.md
- AC 自动机: string/ac-automaton.md
- 后缀数组 (SA): string/sa.md
- 后缀自动机 (SAM): string/sam.md
- 广义后缀自动机: string/general-sam.md
- 后缀树: string/suffix-tree.md
- Manacher: string/manacher.md
- 回文树: string/pam.md
- 序列自动机: string/seq-automaton.md
- 最小表示法: string/minimal-string.md
- Lyndon 分解: string/lyndon.md
- 数学:
- 数学部分简介: math/index.md
- 符号: math/notation.md
- 复数: math/complex.md
- 位运算: math/bit.md
- 快速幂: math/quick-pow.md
- 进位制: math/base.md
- 高精度计算: math/bignum.md
- 平衡三进制: math/balanced-ternary.md
- 数论:
- 素数: math/prime.md
- 最大公约数: math/gcd.md
- 欧拉函数: math/euler.md
- 筛法: math/sieve.md
- 欧拉定理 & 费马小定理: math/fermat.md
- 类欧几里德算法: math/euclidean.md
- 裴蜀定理: math/bezouts.md
- 乘法逆元: math/inverse.md
- 线性同余方程: math/linear-equation.md
- 中国剩余定理: math/crt.md
- 二次剩余: math/quad-residue.md
- BSGS: math/bsgs.md
- 原根: math/primitive-root.md
- 卢卡斯定理: math/lucas.md
- 莫比乌斯反演: math/mobius.md
- 杜教筛: math/du.md
- Min_25 筛: math/min-25.md
- 分解质因数: math/pollard-rho.md
- 多项式:
- 多项式部分简介: math/poly/intro.md
- 拉格朗日插值: math/poly/lagrange.md
- 快速傅里叶变换: math/poly/fft.md
- 快速数论变换: math/poly/ntt.md
- 快速沃尔什变换: math/poly/fwt.md
- 多项式求逆: math/poly/inv.md
- 多项式开方: math/poly/sqrt.md
- 多项式除法|取模: math/poly/div-mod.md
- 多项式对数函数|指数函数: math/poly/ln-exp.md
- 多项式牛顿迭代: math/poly/newton.md
- 多项式多点求值|快速插值: math/poly/multipoint-eval-interpolation.md
- 多项式三角函数: math/poly/tri-func.md
- 多项式反三角函数: math/poly/inv-tri-func.md
- 常系数齐次线性递推: math/linear-recurrence.md
- 生成函数:
- 生成函数简介: math/gen-func/intro.md
- 普通生成函数: math/gen-func/ogf.md
- 指数生成函数: math/gen-func/egf.md
- 线性代数:
- 向量: math/vector.md
- 矩阵: math/matrix.md
- 高斯消元: math/gauss.md
- 线性基: math/basis.md
- 线性规划:
- 线性规划简介: math/linear-programming.md
- 单纯形算法: math/simplex.md
- 组合数学:
- 排列组合: math/combination.md
- 卡特兰数: math/catalan.md
- 斯特林数: math/stirling.md
- 贝尔数: math/bell.md
- 伯努利数: math/bernoulli.md
- 康托展开: math/cantor.md
- 容斥原理: math/inclusion-exclusion-principle.md
- 抽屉原理: math/drawer-principle.md
- 概率初步: math/expectation.md
- 置换群: math/permutation-group.md
- 斐波那契数列: math/fibonacci.md
- 博弈论: math/game-theory.md
- 牛顿迭代法: math/newton.md
- 数值积分: math/integral.md
- 分段打表: math/dictionary.md
- 数据结构:
- 数据结构部分简介: ds/index.md
- 栈: ds/stack.md
- 队列: ds/queue.md
- 链表: ds/linked-list.md
- 哈希表: ds/hash.md
- 并查集: ds/dsu.md
- 堆:
- 堆简介: ds/heap.md
- 二叉堆: ds/binary-heap.md
- 配对堆: ds/pairing-heap.md
- 左偏树: ds/leftist-tree.md
- 块状数据结构:
- 分块思想: ds/decompose.md
- 块状数组: ds/block-array.md
- 块状链表: ds/block-list.md
- 树分块: ds/tree-decompose.md
- Sqrt Tree: ds/sqrt-tree.md
- 单调栈: ds/monotonous-stack.md
- 单调队列: ds/monotonous-queue.md
- ST 表: ds/sparse-table.md
- 树状数组: ds/fenwick.md
- 线段树: ds/seg.md
- 李超线段树: ds/li-chao-tree.md
- 区间最值操作 & 区间历史最值: ds/seg-beats.md
- 划分树: ds/dividing.md
- 二叉搜索树 & 平衡树:
- 二叉搜索树简介: ds/bst.md
- Treap: ds/treap.md
- Splay: ds/splay.md
- WBLT: ds/wblt.md
- Size Balanced Tree: ds/sbt.md
- AVL 树: ds/avl.md
- 替罪羊树: ds/sgt.md
- 笛卡尔树: ds/cartesian-tree.md
- 左偏红黑树: ds/llrbt.md
- 跳表: ds/skiplist.md
- 可持久化数据结构:
- 可持久化数据结构简介: ds/persistent.md
- 可持久化线段树: ds/persistent-seg.md
- 可持久化块状数组: ds/persistent-block-array.md
- 可持久化平衡树: ds/persistent-balanced.md
- 可持久化字典树: ds/persistent-trie.md
- 可持久化可并堆: ds/persistent-heap.md
- 树套树:
- 线段树套线段树: ds/seg-in-seg.md
- 平衡树套线段树: ds/seg-in-balanced.md
- 线段树套平衡树: ds/balanced-in-seg.md
- 树状数组套主席树: ds/persistent-in-bit.md
- 分块套树状数组: ds/bit-in-block-array.md
- K-D Tree: ds/kdt.md
- 珂朵莉树: ds/odt.md
- 动态树:
- Link Cut Tree: ds/lct.md
- Euler Tour Tree: ds/ett.md
- Top Tree: ds/top-tree.md
- 析合树: ds/divide-combine.md
- 图论:
- 图论部分简介: graph/index.md
- 图论相关概念: graph/concept.md
- 图的存储: graph/save.md
- DFS(图论): graph/dfs.md
- BFS(图论): graph/bfs.md
- 树上问题:
- 树基础: graph/tree-basic.md
- 树的直径: graph/tree-diameter.md
- 最近公共祖先: graph/lca.md
- 树的重心: graph/tree-centroid.md
- 树链剖分: graph/hld.md
- 树上启发式合并: graph/dsu-on-tree.md
- 虚树: graph/virtual-tree.md
- 树分治: graph/tree-divide.md
- 动态树分治: graph/dynamic-tree-divide.md
- AHU算法: graph/tree-ahu.md
- 树哈希: graph/tree-hash.md
- 矩阵树定理: graph/matrix-tree.md
- 有向无环图: graph/dag.md
- 拓扑排序: graph/topo.md
- 最小生成树: graph/mst.md
- 斯坦纳树: graph/steiner-tree.md
- 最小树形图: graph/dmst.md
- 最小直径生成树: graph/mdst.md
- 最短路: graph/shortest-path.md
- 拆点: graph/node.md
- 差分约束: graph/diff-constraints.md
- k 短路: graph/kth-path.md
- 同余最短路: graph/mod-shortest-path.md
- 连通性相关:
- 强连通分量: graph/scc.md
- 双连通分量: graph/bcc.md
- 割点和桥: graph/cut.md
- 圆方树: graph/block-forest.md
- 2-SAT: graph/2-sat.md
- 欧拉图: graph/euler.md
- 哈密顿图: graph/hamilton.md
- 二分图: graph/bi-graph.md
- 最小环: graph/min-circle.md
- 平面图: graph/planar.md
- 图的着色: graph/color.md
- 网络流:
- 网络流简介: graph/flow.md
- 最大流: graph/flow/max-flow.md
- 最小割: graph/flow/min-cut.md
- 费用流: graph/flow/min-cost.md
- 上下界网络流: graph/flow/bound.md
- 图的匹配:
- 图匹配: graph/graph-matching/graph-match.md
- 增广路: graph/graph-matching/augment.md
- 二分图最大匹配: graph/graph-matching/bigraph-match.md
- 二分图最大权匹配: graph/graph-matching/bigraph-weight-match.md
- 一般图最大匹配: graph/graph-matching/general-match.md
- 一般图最大权匹配: graph/graph-matching/general-weight-match.md
- Prufer 序列: graph/prufer.md
- LGV 引理: graph/lgv.md
- 弦图: graph/chord.md
- 计算几何:
- 计算几何部分简介: geometry/index.md
- 二维计算几何基础: geometry/2d.md
- 三维计算几何基础: geometry/3d.md
- 极坐标系: geometry/polar-coordinate.md
- 距离: geometry/distance.md
- Pick 定理: geometry/pick.md
- 三角剖分: geometry/triangulation.md
- 凸包: geometry/convex-hull.md
- 扫描线: geometry/scanning.md
- 旋转卡壳: geometry/rotating-calipers.md
- 半平面交: geometry/half-plane.md
- 平面最近点对: geometry/nearest-points.md
- 随机增量法: geometry/random-incremental.md
- 反演变换: geometry/inverse.md
- 计算几何杂项: geometry/misc.md
- 杂项:
- 杂项简介: misc/index.md
- 复杂度: misc/complexity.md
- 离散化: misc/discrete.md
- 离线算法:
- 离线算法简介: misc/offline.md
- CDQ 分治: misc/cdq-divide.md
- 整体二分: misc/parallel-binsearch.md
- 莫队算法:
- 莫队算法简介: misc/mo-algo-intro.md
- 普通莫队算法: misc/mo-algo.md
- 带修改莫队: misc/modifiable-mo-algo.md
- 树上莫队: misc/mo-algo-on-tree.md
- 回滚莫队: misc/rollback-mo-algo.md
- 莫队配合bitset: misc/mo-algo-with-bitset.md
- 分数规划: misc/frac-programming.md
- 随机化:
- 随机函数: misc/random.md
- 随机化技巧: misc/rand-technique.md
- 爬山算法: misc/hill-climbing.md
- 模拟退火: misc/simulated-annealing.md
- 悬线法: misc/hoverline.md
- 计算理论基础: misc/cc-basic.md
- 字节顺序: misc/endianness.md
- 约瑟夫问题: misc/josephus.md
- Stern-Brocot 树与 Farey 序列: misc/stern-brocot.md
- 格雷码: misc/gray-code.md
- 表达式求值: misc/expression.md
- 在一台机器上规划任务: misc/job-order.md
- 主元素问题: misc/main-element.md
- 专题:
- RMQ: topic/rmq.md
- 并查集应用: topic/dsu-app.md
- 括号序列: topic/bracket.md
- 关于 Hulu:
- 关于 Hulu: intro/hulu.md
# Theme
theme:
name: null
custom_dir: 'mkdocs-material/material'
static_templates:
- 404.html
language: 'zh'
palette:
primary: 'white'
accent: 'red'
include_search_page: false
search_index_only: true
favicon: 'https://cdn.jsdelivr.net/npm/[email protected]/favicon.ico'
logo:
icon: 'school'
feature:
tabs: true
font:
text: 'Fira Sans'
code: 'Fira Mono'
# Customization
extra:
search:
language: 'jp'
disqus: 'OI-Wiki'
copyright: '<a href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh">CC BY-SA 4.0</a> 和 <a href="https://github.com/zTrix/sata-license">SATA</a>'
pagetime: 'on'
manifest: 'manifest.webmanifest'
githash: ''
# notice:
# title: 'Hi'
# message: '欢迎点击这里对 OI Wiki 提一点建议'
# url: 'https://wj.qq.com/s2/4467592/b1e9'
# position: 'topCenter'
# progressBar: false
# timeout: false
extra_javascript:
- '_static/js/extra.js?v=16'
- 'https://cdn.jsdelivr.net/npm/[email protected]/MathJax.js?config=TeX-MML-AM_CHTML'
extra_css:
- '_static/css/extra.css?v=13'
# Extensions
markdown_extensions:
- admonition
- codehilite:
guess_lang: false
linenums: true
- def_list
- footnotes
- meta
- toc:
permalink: true
- pymdownx.arithmatex
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.highlight:
linenums: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.progressbar
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: math
class: arithmatex
format: !!python/name:pymdownx.arithmatex.fence_mathjax_format
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde