Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WhereIsHeroFrom/Code_Templates
/ functions
Functions
1,409 in github.com/WhereIsHeroFrom/Code_Templates
⨍
Functions
1,409
◇
Types & classes
191
↓ 2 callers
Method
move
半平面靠着左方进行缩进,缩进距离为dist
计算几何/计算几何2D模板.cpp:422
↓ 2 callers
Method
move
��ƽ�濿��������������������Ϊdist
计算几何/半平面交 模板.cpp:422
↓ 2 callers
Function
opt
动态规划/背包问题/主件附件依赖背包 模板.cpp:57
↓ 2 callers
Function
output
图论/广度优先搜索/迷宫救公主.cpp:222
↓ 2 callers
Function
pack
动态规划/最长公共子序列/最长公共递增子序列 模板.cpp:12
↓ 2 callers
Method
pointOn
计算几何/计算几何2D模板.cpp:142
↓ 2 callers
Method
pointOn
计算几何/计算几何 圆和多边形的交 模板.cpp:160
↓ 2 callers
Method
pointOn
计算几何/半平面交 模板.cpp:142
↓ 2 callers
Method
pointOn
计算几何/计算几何 圆相关 模板.cpp:141
↓ 2 callers
Method
pointOn
计算几何/计算几何_线段判交 模板.cpp:80
↓ 2 callers
Method
pointOn
计算几何/解析几何_线段交点.cpp:133
↓ 2 callers
Method
pointOn
���Ƿ����߶���
计算几何/计算几何 最大空凸包.cpp:238
↓ 2 callers
Method
pow
大数/KaraTsuba 模板.cpp:243
↓ 2 callers
Method
print
大数/高精分数 模板.cpp:36
↓ 2 callers
Method
push
数据结构/高级数据结构/单调栈/直方图的最大子矩形.cpp:40
↓ 2 callers
Method
push
图论/广度优先搜索/迷宫搜索 模板.cpp:146
↓ 2 callers
Method
read
计算几何/计算几何 圆和多边形的交 模板.cpp:34
↓ 2 callers
Method
read
计算几何/计算几何 圆相关 模板.cpp:34
↓ 2 callers
Method
reset
图论/强连通分量/2_sat 模板.cpp:29
↓ 2 callers
Method
segCross
�߶��н� 1.ͨ���������� 2.���Ƿ����߶���
计算几何/计算几何 最大空凸包.cpp:248
↓ 2 callers
Method
setBoxCode
图论/广度优先搜索/PushBoxGame/PushBoxGame/pushboxstate.cpp:71
↓ 2 callers
Method
setNode
字符串/字典树/字典树 字母模板.cpp:43
↓ 2 callers
Method
setRemainder
数论/中国剩余定理/中国剩余定理 模板.cpp:25
↓ 2 callers
Method
setStep
图论/广度优先搜索/迷宫搜索 模板.cpp:177
↓ 2 callers
Method
setStep
图论/广度优先搜索/迷宫救公主.cpp:174
↓ 2 callers
Function
sqr
计算几何/计算几何 最小覆盖圆 模板.cpp:14
↓ 2 callers
Function
threeValue
��ֵ����
计算几何/计算几何_线段判交 模板.cpp:10
↓ 2 callers
Method
turnLeft
计算几何/计算几何 圆相关 模板.cpp:69
↓ 2 callers
Function
unionfind_find
数据结构/画解数据结构/图/最小生成树/kruscal.cpp:10
↓ 2 callers
Method
update
树/线段树_最值 模板.cpp:27
↓ 2 callers
Function
valueTypeIndex
HASH/字符串哈希 模板.cpp:139
↓ 2 callers
Method
zero
计算几何/计算几何 最大空凸包.cpp:104
↓ 1 callers
Function
AVLCreateNode
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:39
↓ 1 callers
Function
AVLGetMax
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:183
↓ 1 callers
Function
AVLGetMin
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:176
↓ 1 callers
Function
AVLRemoveRoot
�Ƴ� T �ĸ���㣬���ұ�������ƽ���ԣ� */
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:193
↓ 1 callers
Function
AVLTreeLL
LL ��
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:93
↓ 1 callers
Function
AVLTreeLR
LR ��
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:103
↓ 1 callers
Function
AVLTreeRL
RL ��
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:109
↓ 1 callers
Function
AVLTreeRR
RR ��
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:98
↓ 1 callers
Function
B
y = Kx + b������b = dp[i][j] + B; y = Kx + dp[i][j] + B
动态规划/dp斜率优化(2D) 模板.cpp:49
↓ 1 callers
Function
BSTDelete
* $(1)$ ���Ϊ��������ֱ�ӷ��ؿս�㣻 * $(2)$ �����Ҫɾ���Ľ�㣬��������ĸ���㣬��ֱ�ӵ��ýӿ�```Delete```�����Ļ��������ʵ�֣� * $(3)$ �����Ҫɾ���Ľ���ֵ С�� **��������ֵ**����
数据结构/画解数据结构/二叉树/二叉搜索树 BST/二叉搜索树.c:112
↓ 1 callers
Function
BSTFindMin
������С����ֵ * $(1)$ ������������ڣ���ݹ�����������IJ�����С���ӿڣ� * $(2)$ ��������������ڣ���ǰ������ֵһ������С�ģ�ֱ�ӷ��ؽӿڣ� */
数据结构/画解数据结构/二叉树/二叉搜索树 BST/二叉搜索树.c:77
↓ 1 callers
Function
BSTInsert
���� * $(1)$ ```BSTInsert```�������ڽ�ֵΪ```val```�Ľ����뵽��```root```Ϊ�����������У� * $(2)$ ����ǿ�������һ��ֵΪ```val```�Ľ�㲢�ҷ��أ� * $(3)$ ```val```��ֵ
数据结构/画解数据结构/二叉树/二叉搜索树 BST/二叉搜索树.c:58
↓ 1 callers
Function
BellmanFordInit
图论/最短路/BellmanFord 模板.cpp:36
↓ 1 callers
Function
Boruvka
数据结构/画解数据结构/图/最小生成树/boruvka.cpp:65
↓ 1 callers
Function
BubbleSort
数据结构/画解数据结构/排序/冒泡排序.cpp:26
↓ 1 callers
Function
CalcCache
计算阶乘 模 p,存入 FacCache
数论/Lucas定理 模板.cpp:44
↓ 1 callers
Function
CountingSort
数据结构/画解数据结构/排序/计数排序.cpp:33
↓ 1 callers
Function
Delete
* $(1)$ ���������Ϊ�գ�������������Ϊ�µ������� * $(2)$ ���������Ϊ�գ�������������Ϊ�µ������� * $(3)$ ��������������Ϊ�ǿ�ʱ������```BSTFindMin```������������
数据结构/画解数据结构/二叉树/二叉搜索树 BST/二叉搜索树.c:90
↓ 1 callers
Function
Dijkstra_FindMin
图论/最短路/Dijkstra 模板.cpp:44
↓ 1 callers
Function
Dijkstra_FindMin
图论/最短路/Dijkstra + Heap 模板.cpp:73
↓ 1 callers
Function
Dijkstra_Init
图论/最短路/Dijkstra 模板.cpp:37
↓ 1 callers
Function
Dijkstra_Init
图论/最短路/Dijkstra + Heap 模板.cpp:51
↓ 1 callers
Function
Dijkstra_Update
图论/最短路/Dijkstra 模板.cpp:56
↓ 1 callers
Function
Dijkstra_Update
图论/最短路/Dijkstra + Heap 模板.cpp:59
↓ 1 callers
Function
Eratosthenes
厄尔多塞素数筛选法
组合数学/Polya环形计数 模板.cpp:42
↓ 1 callers
Function
Eratosthenes
数论/Eratosthenes筛选 模板.cpp:19
↓ 1 callers
Function
Eratosthenes
�����������ɸѡ��
数论/因子筛选.cpp:32
↓ 1 callers
Function
Eratosthenes
厄尔多塞素数筛选法
数论/欧拉函数 模板.cpp:22
↓ 1 callers
Function
Eratosthenes
厄尔多塞素数筛选法
数论/因式分解.cpp:30
↓ 1 callers
Function
Exp
二分快速幂
数论/Lucas定理 模板.cpp:28
↓ 1 callers
Function
ExpGcd
高等数学/高斯消元 模板.cpp:128
↓ 1 callers
Function
ExpGcd
��չŷ����� aX + bY = 1
数论/中国剩余定理/中国剩余定理 模板.cpp:42
↓ 1 callers
Function
ExpGcd
��չŷ����� aX + bY = 1
数论/逆元/扩展欧几里得 逆元 模板.cpp:31
↓ 1 callers
Function
Factorization
��ʽ�ֽ� - ��n�ֽ�������ݳ˻�����ʽ ������ 252 = (2^2) * (3^2) * (7^1) �� ans = [ (2,2), (3,2), (7,1) ]
组合数学/多重集排列 模板.cpp:328
↓ 1 callers
Function
Factorization
因式分解 - 将n分解成素数幂乘积的形式 举例: 252 = (2^2) * (3^2) * (7^1) 则 ans = [ (2,2), (3,2), (7,1) ]
组合数学/Polya环形计数 模板.cpp:61
↓ 1 callers
Function
Factorization
��ʽ�ֽ� - ��n�ֽ�������ݳ˻�����ʽ ������ 252 = (2^2) * (3^2) * (7^1) �� ans = [ (2,2), (3,2), (7,1) ]
数论/因子加减法 模板.cpp:143
↓ 1 callers
Function
Factorization
因式分解 - 将n分解成素数幂乘积的形式 举例: 252 = (2^2) * (3^2) * (7^1) 则 ans = [ (2,2), (3,2), (7,1) ]
数论/因式分解.cpp:49
↓ 1 callers
Function
Gcd
数论/拉宾米勒大数判素 模板.cpp:31
↓ 1 callers
Function
GetTrieNode
数据结构/画解数据结构/图/最小生成树/boruvka.cpp:30
↓ 1 callers
Function
HeapIsEmpty
�ѵ��п�
数据结构/画解数据结构/堆/堆.c:82
↓ 1 callers
Function
HeapPush
�ѵIJ��� �嵽���һ��λ�ã�Ȼ�Ͻ����ϸ�����
数据结构/画解数据结构/堆/堆.c:88
↓ 1 callers
Function
Init
数据结构/画解数据结构/图/最小生成树/boruvka.cpp:25
↓ 1 callers
Function
InitPowOfBase
数据结构/画解数据结构/排序/基数排序.cpp:13
↓ 1 callers
Function
Input
数据结构/画解数据结构/排序/希尔排序.cpp:8
↓ 1 callers
Function
Input
数据结构/画解数据结构/排序/计数排序.cpp:18
↓ 1 callers
Function
Input
数据结构/画解数据结构/排序/冒泡排序.cpp:5
↓ 1 callers
Function
Input
数据结构/画解数据结构/排序/快速排序 - 实现2.cpp:8
↓ 1 callers
Function
Input
数据结构/画解数据结构/排序/快速排序 - 实现1.cpp:8
↓ 1 callers
Function
Input
数据结构/画解数据结构/排序/归并排序.cpp:8
↓ 1 callers
Function
Input
数据结构/画解数据结构/排序/基数排序.cpp:21
↓ 1 callers
Function
InsertSort
数据结构/画解数据结构/排序/插入排序.cpp:26
↓ 1 callers
Function
K
动态规划/dp斜率优化 模板.cpp:36
↓ 1 callers
Method
KaraTsuba
大数/KaraTsuba 模板.cpp:255
↓ 1 callers
Function
LCA_Dfs
图论/最近公共祖先 模板.cpp:93
↓ 1 callers
Function
LargestRectangleInHistogram
ֱ��ͼ������ڽ��Ӿ���
数据结构/高级数据结构/单调栈/直方图的最大子矩形.cpp:70
↓ 1 callers
Function
ListCreateListByHead
数据结构/画解数据结构/链表/单向链表.cpp:134
↓ 1 callers
Function
ListDestroyList
数据结构/画解数据结构/链表/单向链表.cpp:144
↓ 1 callers
Function
ListFindNodeByValue
����������ֵΪ v �ĵ�һ����� 1�� head Ϊ����ͷ������ͷ�����������
数据结构/画解数据结构/链表/单向链表.cpp:49
↓ 1 callers
Function
ListGetNode
��ȡ������ i ����� 1�� head Ϊ����ͷ������ͷ����������� 2�� i >= 0
数据结构/画解数据结构/链表/单向链表.cpp:34
↓ 1 callers
Function
ListInsertNode
�ڵ� i �����������һ�����ݣ�����ֵΪ v ����˵���� 1�� Head Ϊ����ͷ������ͷ����������� 2�� i >= 0
数据结构/画解数据结构/链表/单向链表.cpp:66
↓ 1 callers
Function
Lucas
lucas 定理
数论/Lucas定理 模板.cpp:66
↓ 1 callers
Function
Manacher
字符串/Manacher 模板.cpp:38
↓ 1 callers
Function
ManacherPre
字符串/Manacher 模板.cpp:27
↓ 1 callers
Function
Max
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:25
↓ 1 callers
Function
Max
数据结构/高级数据结构/单调栈/直方图的最大子矩形.cpp:65
↓ 1 callers
Function
MergeSort
数据结构/画解数据结构/排序/归并排序.cpp:23
↓ 1 callers
Function
Min
字符串/Manacher 模板.cpp:23
↓ 1 callers
Function
Mod
高等数学/高斯消元 模板.cpp:142
← previous
next →
201–300 of 1,409, ranked by callers