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
↓ 3 callers
Method
getConvex
求凸包
计算几何/计算几何2D模板.cpp:263
↓ 3 callers
Method
getConvex
����
计算几何/半平面交 模板.cpp:263
↓ 3 callers
Method
getCrossPoint
两条不平行的直线必有交点 利用叉乘求面积法的相似三角形比值得出交点
计算几何/计算几何2D模板.cpp:173
↓ 3 callers
Method
getCrossPoint
������ƽ�е�ֱ�߱��н��� ���ò��������������������α�ֵ�ó�����
计算几何/半平面交 模板.cpp:173
↓ 3 callers
Method
getCrossPoint
计算几何/解析几何_线段交点.cpp:211
↓ 3 callers
Method
getHead
图论/强连通分量/2_sat 模板.cpp:119
↓ 3 callers
Method
getManCode
图论/广度优先搜索/PushBoxGame/PushBoxGame/pushboxstate.cpp:66
↓ 3 callers
Method
getRowIdx
Dancing Links/Dancing Links Sudoku 模板.cpp:140
↓ 3 callers
Method
getRowIdx
Dancing Links/Dancing Links 模板.cpp:128
↓ 3 callers
Method
getStep
图论/广度优先搜索/迷宫搜索 模板.cpp:173
↓ 3 callers
Method
init
计算几何/计算几何2D模板.cpp:437
↓ 3 callers
Method
init
计算几何/半平面交 模板.cpp:437
↓ 3 callers
Method
isPointInCircle
计算几何/计算几何 最小覆盖圆 模板.cpp:114
↓ 3 callers
Function
pack
动态规划/最长公共子序列/最长公共子序列 路径回溯 模板.cpp:12
↓ 3 callers
Method
read
计算几何/计算几何2D模板.cpp:36
↓ 3 callers
Method
read
计算几何/半平面交 模板.cpp:36
↓ 3 callers
Method
read
计算几何/计算几何_线段判交 模板.cpp:30
↓ 3 callers
Method
right
杂项/蜂巢坐标系 模板.cpp:29
↓ 3 callers
Method
size
数据结构/高级数据结构/单调栈/单调栈 模板.cpp:56
↓ 3 callers
Function
sqr
高等数学/最小分数表示趋近.cpp:12
↓ 3 callers
Function
sqr
计算几何/计算几何 最小包围球 模板.cpp:11
↓ 3 callers
Method
startSolveSudoku
Dancing Links/Dancing Links Sudoku 模板.cpp:619
↓ 3 callers
Function
threeValue
��ֵ����
计算几何/解析几何_线段交点.cpp:14
↓ 3 callers
Method
trimLeadingZero
大数/KaraTsuba 模板.cpp:133
↓ 3 callers
Method
turnLeft
计算几何/计算几何 圆和多边形的交 模板.cpp:72
↓ 3 callers
Method
update
树/矩形树_最值 模板.cpp:19
↓ 3 callers
Method
updateColSum
Dancing Links/Dancing Links Sudoku 模板.cpp:113
↓ 3 callers
Method
updateColSum
Dancing Links/Dancing Links 模板.cpp:101
↓ 3 callers
Function
visit
数据结构/画解数据结构/树/遍历.c:49
↓ 3 callers
Method
zero
计算几何/计算几何 二维凸包.cpp:82
↓ 2 callers
Function
AVLBalance
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:114
↓ 2 callers
Function
AVLRemove
数据结构/画解数据结构/二叉树/平衡二叉树 AVL/AVL 树.c:225
↓ 2 callers
Function
BellmanFordUpdate
图论/最短路/BellmanFord 模板.cpp:42
↓ 2 callers
Method
Copy
矩阵/矩阵 ikj 模板.cpp:127
↓ 2 callers
Method
DeSerialize
����״̬������λ��
图论/广度优先搜索/PushBoxGame/PushBoxGame/pushboxstate.cpp:40
↓ 2 callers
Function
GCD
RMQ/RMQ_GCD 模板.cpp:19
↓ 2 callers
Function
GCD
计算几何/解析几何_线段交点.cpp:9
↓ 2 callers
Function
GCD
数论/中国剩余定理/中国剩余定理 模板.cpp:9
↓ 2 callers
Function
HashSearchKey
数据结构/画解数据结构/哈希表/散列哈希 - 开方定址法.c:23
↓ 2 callers
Function
Inv
费马小定理
数论/Lucas定理 模板.cpp:39
↓ 2 callers
Function
K
б��K��ֻȡ����j���ҵ�������
动态规划/dp斜率优化(2D) 模板.cpp:43
↓ 2 callers
Method
Print
计算几何/解析几何_线段交点.cpp:168
↓ 2 callers
Function
Product_Mod
long long �˷���������汾
数论/中国剩余定理/中国剩余定理 模板.cpp:57
↓ 2 callers
Function
RMQ_GetValue
RMQ/RMQ_2D 模板.cpp:26
↓ 2 callers
Function
RMQ_Init
f[i][j] = opt(f[i-1][j], f[i-1][j + 2^{i-1}]);
RMQ/RMQ_1D 模板.cpp:22
↓ 2 callers
Function
RMQ_MinIndex
RMQ/RMQ_1D 模板.cpp:17
↓ 2 callers
Function
RMQ_Pack
RMQ/RMQ_2D 模板.cpp:17
↓ 2 callers
Function
RMQ_Query
�����䳤��Ϊ2^k����X��ʾ������Ϊ[a, a + 2^k)��Y��ʾ������Ϊ(b - 2^k, b]�� ����Ҫ����һ����������X���Ҷ˵������ڵ���Y����˵�-1���� a+2^k-1 >= b-2^k�� ��2^(k+1) >= (
RMQ/RMQ_1D 模板.cpp:46
↓ 2 callers
Function
SQR
计算几何/计算几何 最大空凸包.cpp:65
↓ 2 callers
Function
SQR
计算几何/计算几何 二维凸包.cpp:51
↓ 2 callers
Method
Serialize
���ݴ���λ�ã�����״̬
图论/广度优先搜索/PushBoxGame/PushBoxGame/pushboxstate.cpp:28
↓ 2 callers
Function
_QueueDequeue
数据结构/画解数据结构/双端队列/双端队列链表实现.c:44
↓ 2 callers
Function
_QueueEnqueue
数据结构/画解数据结构/双端队列/双端队列链表实现.c:26
↓ 2 callers
Method
addEdge
树/树的直径 模板.cpp:83
↓ 2 callers
Function
addEdgeVertex
图论/最近公共祖先 模板.cpp:87
↓ 2 callers
Method
addNum
字符串/字典树/字典树 字母模板.cpp:65
↓ 2 callers
Method
addNum
字符串/字典树/字典树 01模板.cpp:55
↓ 2 callers
Function
add_set
图论/并查集/并查集 判奇环.cpp:20
↓ 2 callers
Method
angle
计算几何/计算几何 圆和多边形的交 模板.cpp:78
↓ 2 callers
Method
angle
计算几何/计算几何 圆相关 模板.cpp:75
↓ 2 callers
Function
bfs
图论/广度优先搜索/最短路BFS样例.cpp:13
↓ 2 callers
Method
clear
计算几何/计算几何 最大空凸包.cpp:484
↓ 2 callers
Method
clear
图论/广度优先搜索/迷宫救公主.cpp:139
↓ 2 callers
Method
distSquare
计算几何/计算几何 最大空凸包.cpp:147
↓ 2 callers
Method
distSquare
计算几何/计算几何 二维凸包.cpp:111
↓ 2 callers
Method
empty
数据结构/高级数据结构/单调栈/直方图的最大子矩形.cpp:54
↓ 2 callers
Function
find_depth
图论/并查集/并查集 判奇环.cpp:16
↓ 2 callers
Function
find_set
树/树的直径 模板.cpp:153
↓ 2 callers
Function
find_set
图论/并查集/并查集 路径压缩.cpp:10
↓ 2 callers
Function
find_set
图论/并查集/并查集 判奇环.cpp:12
↓ 2 callers
Function
g
动态规划/数位 DP 模板.cpp:55
↓ 2 callers
Method
gauss
计算几何/计算几何 最小包围球 模板.cpp:44
↓ 2 callers
Method
getAngle
计算几何/计算几何 二维凸包.cpp:145
↓ 2 callers
Method
getBoxState
图论/广度优先搜索/PushBoxGame/PushBoxGame/pushboxstate.cpp:50
↓ 2 callers
Method
getColSum
Dancing Links/Dancing Links Sudoku 模板.cpp:117
↓ 2 callers
Method
getColSum
Dancing Links/Dancing Links 模板.cpp:105
↓ 2 callers
Method
getCrossPoint
计算几何/计算几何 最小覆盖圆 模板.cpp:91
↓ 2 callers
Method
getFromSegment2D
计算几何/解析几何_线段交点.cpp:191
↓ 2 callers
Method
getInDegree
图论/强连通分量/2_sat 模板.cpp:127
↓ 2 callers
Method
getIndex
计算几何/计算几何 最大空凸包.cpp:204
↓ 2 callers
Method
getKey
图论/广度优先搜索/PushBoxGame/PushBoxGame/hash.cpp:34
↓ 2 callers
Method
getMatchBoxIndex
图论/广度优先搜索/PushBoxGame/PushBoxGame/pushboxstate.cpp:87
↓ 2 callers
Method
getNum
字符串/字典树/字典树 01模板.cpp:58
↓ 2 callers
Method
getValue
图论/广度优先搜索/PushBoxGame/PushBoxGame/hash.cpp:70
↓ 2 callers
Method
getx
计算几何/计算几何 圆和多边形的交 模板.cpp:40
↓ 2 callers
Method
gety
计算几何/计算几何 圆和多边形的交 模板.cpp:41
↓ 2 callers
Method
hasNode
字符串/字典树/字典树 字母模板.cpp:49
↓ 2 callers
Method
hasNode
字符串/字典树/字典树 01模板.cpp:39
↓ 2 callers
Method
initialize
图论/广度优先搜索/PushBoxGame/PushBoxGame/hash.cpp:22
↓ 2 callers
Method
isIntersectWith
树/矩形树_最值 模板.cpp:74
↓ 2 callers
Method
len
树/矩形树_最值 模板.cpp:65
↓ 2 callers
Method
len_sqr
计算几何/计算几何 最小覆盖圆 模板.cpp:53
↓ 2 callers
Method
lineCross
计算几何/计算几何2D模板.cpp:138
↓ 2 callers
Method
lineCross
计算几何/计算几何 圆和多边形的交 模板.cpp:156
↓ 2 callers
Method
lineCross
计算几何/半平面交 模板.cpp:138
↓ 2 callers
Method
lineCross
计算几何/计算几何 圆相关 模板.cpp:137
↓ 2 callers
Method
lineCross
计算几何/计算几何_线段判交 模板.cpp:76
↓ 2 callers
Method
lineCross
计算几何/解析几何_线段交点.cpp:129
↓ 2 callers
Method
lineCross
�������� ����ǰ�߶���Ϊһ���ܳ���ֱ�ߣ�����߶�other�Ƿ����������ֱ�ߵ�����
计算几何/计算几何 最大空凸包.cpp:233
↓ 2 callers
Function
lowbit
树状数组/一维树状数组 模板.cpp:30
← previous
next →
101–200 of 1,409, ranked by callers