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
↓ 1 callers
Method
Multiply_ijk
矩阵/矩阵乘法 模板.cpp:59
↓ 1 callers
Method
Multiply_ikj
矩阵/矩阵乘法 模板.cpp:72
↓ 1 callers
Method
Multiply_kij
矩阵/矩阵乘法 模板.cpp:86
↓ 1 callers
Function
Output
数据结构/画解数据结构/排序/希尔排序.cpp:14
↓ 1 callers
Function
Output
数据结构/画解数据结构/排序/计数排序.cpp:24
↓ 1 callers
Function
Output
数据结构/画解数据结构/排序/冒泡排序.cpp:11
↓ 1 callers
Function
Output
数据结构/画解数据结构/排序/快速排序 - 实现2.cpp:14
↓ 1 callers
Function
Output
数据结构/画解数据结构/排序/快速排序 - 实现1.cpp:14
↓ 1 callers
Function
Output
数据结构/画解数据结构/排序/归并排序.cpp:14
↓ 1 callers
Function
Output
数据结构/画解数据结构/排序/基数排序.cpp:28
↓ 1 callers
Method
Partial
�������ֽ�� high*10^basePower + low ע�⣡����Ϊ�����Ч�ʣ�basePower������DLEN�ı���
大数/KaraTsuba 模板.cpp:110
↓ 1 callers
Function
Partition
数据结构/画解数据结构/排序/快速排序 - 实现2.cpp:29
↓ 1 callers
Function
Partition
数据结构/画解数据结构/排序/快速排序 - 实现1.cpp:29
↓ 1 callers
Function
Phi
欧拉函数 - 获取小于n的数中与n互素的数的个数 举例: Phi(10) = 4 即 1、3、7、9 总共4个
数论/欧拉函数 模板.cpp:41
↓ 1 callers
Function
Pollard_rho
数论/拉宾米勒大数判素 模板.cpp:101
↓ 1 callers
Function
Power
���� a^b % mod
数论/拉宾米勒大数判素 模板.cpp:48
↓ 1 callers
Method
Print
高等数学/最小分数表示趋近.cpp:64
↓ 1 callers
Method
Print
大数/KaraTsuba 模板.cpp:275
↓ 1 callers
Function
QueryMaxMinDiff
RMQ/RMQ_1D 模板.cpp:61
↓ 1 callers
Function
QueueCreateNode
数据结构/画解数据结构/双端队列/双端队列链表实现.c:19
↓ 1 callers
Function
QueueGetSize
数据结构/画解数据结构/队列/顺序表实现队列.c:23
↓ 1 callers
Function
QueueGetSize
数据结构/画解数据结构/队列/链表实现队列.c:43
↓ 1 callers
Function
QueueGetSize
数据结构/画解数据结构/双端队列/双端队列链表实现.c:84
↓ 1 callers
Function
QueueGetSize
数据结构/画解数据结构/双端队列/双端队列顺序表实现.c:35
↓ 1 callers
Function
QueueGetSize
数据结构/高级数据结构/单调队列/单调队列.c:29
↓ 1 callers
Function
QuickSort
�ݹ���л���
数据结构/画解数据结构/排序/快速排序 - 实现2.cpp:52
↓ 1 callers
Function
QuickSort
�ݹ���л���
数据结构/画解数据结构/排序/快速排序 - 实现1.cpp:49
↓ 1 callers
Function
RMQ_Init
n val[] ��ʾԪ����Ĵ�С��Ԫ��ֵ -in ret[i][j] ��ʾ��õ�RMQ���� -out
图论/最近公共祖先 模板.cpp:20
↓ 1 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) >= (
图论/最近公共祖先 模板.cpp:51
↓ 1 callers
Function
RMQ_UnPack
RMQ/RMQ_2D 模板.cpp:21
↓ 1 callers
Function
Rabin_Miller
Rabin_Miller����
数论/拉宾米勒大数判素 模板.cpp:59
↓ 1 callers
Function
RadixSort
数据结构/画解数据结构/排序/基数排序.cpp:42
↓ 1 callers
Function
SPFAInit
图论/最短路/SPFA 模板.cpp:38
↓ 1 callers
Function
SPFAUpdate
图论/最短路/SPFA 模板.cpp:47
↓ 1 callers
Function
SelectionSort
数据结构/画解数据结构/排序/选择排序.cpp:27
↓ 1 callers
Function
SeqListDelete
数据结构/画解数据结构/顺序表(数组)/数组的基本操作.c:42
↓ 1 callers
Function
SeqListIndex
数据结构/画解数据结构/顺序表(数组)/数组的基本操作.c:11
↓ 1 callers
Function
SeqListInsert
数据结构/画解数据结构/顺序表(数组)/数组的基本操作.c:29
↓ 1 callers
Method
SetInteFunc
高等数学/Simpson.cpp:21
↓ 1 callers
Method
SetOrigFunc
高等数学/Simpson.cpp:18
↓ 1 callers
Function
ShellSort
数据结构/画解数据结构/排序/希尔排序.cpp:23
↓ 1 callers
Function
SmallComb
小组合数模 p n,m < p
数论/Lucas定理 模板.cpp:54
↓ 1 callers
Function
StackGetSize
数据结构/画解数据结构/栈/链表实现栈.c:35
↓ 1 callers
Function
StackGetSize
数据结构/画解数据结构/栈/线性表实现栈.c:22
↓ 1 callers
Function
StackIsEmpty
数据结构/画解数据结构/栈/链表实现栈.c:39
↓ 1 callers
Function
StackPopStack
数据结构/画解数据结构/栈/链表实现栈.c:25
↓ 1 callers
Function
Swap
数据结构/画解数据结构/排序/冒泡排序.cpp:20
↓ 1 callers
Function
TrieInsert
数据结构/画解数据结构/图/最小生成树/boruvka.cpp:34
↓ 1 callers
Function
TrieQuery
数据结构/画解数据结构/图/最小生成树/boruvka.cpp:51
↓ 1 callers
Method
X
计算几何/计算几何_线段判交 模板.cpp:44
↓ 1 callers
Method
X
计算几何/计算几何 最小包围球 模板.cpp:142
↓ 1 callers
Method
add
功能:插入一个(rowIdx, colIdx)的结点(即原01矩阵中(rowIdx, colIdx)位置为1的) 注意:按照行递增、列递增的顺序进行插入 */
Dancing Links/Dancing Links 模板.cpp:378
↓ 1 callers
Method
add
动态规划/背包问题/分组背包 (至少一个) 模板.cpp:39
↓ 1 callers
Method
add
动态规划/背包问题/分组背包 (最多一个) 模板.cpp:39
↓ 1 callers
Method
add
图论/广度优先搜索/PushBoxGame/PushBoxGame/path.cpp:27
↓ 1 callers
Method
addRectBorder
计算几何/计算几何2D模板.cpp:445
↓ 1 callers
Method
addRectBorder
计算几何/半平面交 模板.cpp:445
↓ 1 callers
Method
angle
计算几何/计算几何2D模板.cpp:76
↓ 1 callers
Method
angle
计算几何/半平面交 模板.cpp:76
↓ 1 callers
Method
appendToCol
Dancing Links/Dancing Links Sudoku 模板.cpp:144
↓ 1 callers
Method
appendToCol
Dancing Links/Dancing Links 模板.cpp:132
↓ 1 callers
Method
appendToRow
Dancing Links/Dancing Links Sudoku 模板.cpp:157
↓ 1 callers
Method
appendToRow
Dancing Links/Dancing Links 模板.cpp:145
↓ 1 callers
Method
bfs
图论/广度优先搜索/迷宫搜索 模板.cpp:190
↓ 1 callers
Method
bfs
图论/广度优先搜索/迷宫救公主.cpp:187
↓ 1 callers
Function
bfs_printf
图论/广度优先搜索/最短路BFS样例.cpp:34
↓ 1 callers
Function
binarySearch
枚举/二分枚举/二分枚举 数组 模板.c:12
↓ 1 callers
Function
binarySearch
枚举/二分枚举/二分枚举 函数 模板.c:12
↓ 1 callers
Method
build_tree
树/线段树_最值 模板.cpp:129
↓ 1 callers
Method
calculateAngle
计算几何/计算几何 最大空凸包.cpp:162
↓ 1 callers
Method
calculateAngle
计算几何/计算几何 二维凸包.cpp:123
↓ 1 callers
Method
centerWith
计算几何/计算几何 最小包围球 模板.cpp:157
↓ 1 callers
Method
check
计算几何/计算几何 二维凸包.cpp:294
↓ 1 callers
Function
chineseRemain
�й�ʣ�ඨ�� ģ�� return -1 ��ʾ��
数论/中国剩余定理/中国剩余定理 模板.cpp:74
↓ 1 callers
Method
clear
动态规划/背包问题/分组背包 (最多一个) 模板.cpp:36
↓ 1 callers
Method
clear
数据结构/高级数据结构/单调栈/直方图的最大子矩形.cpp:36
↓ 1 callers
Method
clear
图论/广度优先搜索/迷宫搜索 模板.cpp:142
↓ 1 callers
Function
cmpLIS
动态规划/最长单调子序列.cpp:40
↓ 1 callers
Function
cmpLIS
动态规划/最长公共子序列/最长公共子序列 优化版.cpp:30
↓ 1 callers
Function
completeKnapsackInit
动态规划/背包问题/完全背包 模板.cpp:29
↓ 1 callers
Method
convertToCounterClockwise
转成逆时针顺序
计算几何/计算几何2D模板.cpp:314
↓ 1 callers
Method
convertToCounterClockwise
转成逆时针顺序
计算几何/计算几何 圆和多边形的交 模板.cpp:311
↓ 1 callers
Method
convertToCounterClockwise
ת����ʱ��˳��
计算几何/半平面交 模板.cpp:314
↓ 1 callers
Function
createNode
数据结构/画解数据结构/二叉树/二叉搜索树 BST/二叉搜索树.c:21
↓ 1 callers
Method
dance
Dancing Links/Dancing Links Sudoku 模板.cpp:462
↓ 1 callers
Method
dance
Dancing Links/Dancing Links 模板.cpp:483
↓ 1 callers
Method
deleteFromCol
Dancing Links/Dancing Links Sudoku 模板.cpp:167
↓ 1 callers
Method
deleteFromCol
Dancing Links/Dancing Links 模板.cpp:155
↓ 1 callers
Method
deleteFromRow
Dancing Links/Dancing Links Sudoku 模板.cpp:176
↓ 1 callers
Method
deleteFromRow
Dancing Links/Dancing Links 模板.cpp:164
↓ 1 callers
Function
dfs
动态规划/数位 DP 模板.cpp:38
↓ 1 callers
Function
dfs
图论/深度优先搜索/记忆化搜索求最大值样例.cpp:31
↓ 1 callers
Function
dfs
图论/深度优先搜索/斐波那契数列DFS样例.cpp:6
↓ 1 callers
Function
dfs
图论/深度优先搜索/阶乘求解DFS样例.cpp:5
↓ 1 callers
Function
dfs
图论/深度优先搜索/简易DFS样例.cpp:37
↓ 1 callers
Function
dfs
图论/深度优先搜索/全排列DFS样例.cpp:34
↓ 1 callers
Function
dfs_add
图论/深度优先搜索/简易DFS样例.cpp:26
↓ 1 callers
Function
dfs_add
图论/深度优先搜索/全排列DFS样例.cpp:16
↓ 1 callers
Function
dfs_dec
图论/深度优先搜索/全排列DFS样例.cpp:22
↓ 1 callers
Function
dfs_init
图论/深度优先搜索/记忆化搜索求最大值样例.cpp:16
← previous
next →
301–400 of 1,409, ranked by callers