MCPcopy Create free account

hub / github.com/ShahjalalShohag/code-library / functions

Functions3,514 in github.com/ShahjalalShohag/code-library

↓ 588 callersMethodpush_back
Number Theory/Sum of nCi for a Fixed Large n.cpp:244
↓ 363 callersMethodsize
Math/Polynomial.cpp:162
↓ 262 callersMethodsize
Graph Theory/Directed MST.cpp:13
↓ 243 callersMethodresize
Number Theory/Sum of nCi for a Fixed Large n.cpp:243
↓ 113 callersFunctionsize
Data Structures/Treap persistent.cpp:28
↓ 111 callersMethodsize
Miscellaneous/Schreier–Sims algorithm.cpp:42
↓ 100 callersMethodsize
Number Theory/Bell Number.cpp:162
↓ 85 callersMethodempty
Graph Theory/Eppsteins Algorithm.cpp:39
↓ 77 callersMethodassign
assign a[i]=val for l<=i<=r returns affected ranges before performing this assign operation
Data Structures/Interval Set.cpp:15
↓ 68 callersMethodsize
Number Theory/Sum of nCi for a Fixed Large n.cpp:242
↓ 64 callersFunctionsign
Geometry/Geometry 2D.cpp:10
↓ 61 callersFunctionfind
Data Structures/Augmented DSU.cpp:22
↓ 61 callersMethodsize
Data Structures/Venice Technique.cpp:6
↓ 56 callersFunctionpow
Math/FWHT in Any Base.cpp:81
↓ 53 callersMethodpush
Graph Theory/3 SAT.cpp:47
↓ 50 callersFunctionrep
Number Theory/Sum of nCi for a Fixed Large n.cpp:148
↓ 49 callersMethodclear
Graph Theory/Edge Coloring Bipartite Graph Faster.cpp:19
↓ 47 callersFunctioncross
Geometry/Geometry 2D.cpp:41
↓ 45 callersMethodpop
Graph Theory/3 SAT.cpp:58
↓ 44 callersFunctionpush
Data Structures/Reachability Tree.cpp:68
↓ 42 callersFunctionabs
Geometry/Geometry 3D.cpp:77
↓ 42 callersFunctionquery
Data Structures/HLD.cpp:106
↓ 39 callersFunctionsign
Geometry/Geometry 3D.cpp:8
↓ 38 callersFunctionsplit
Data Structures/Treap persistent.cpp:34
↓ 37 callersFunctiondot
Geometry/Geometry 2D.cpp:38
↓ 34 callersFunctionupd
Data Structures/MOs Online.cpp:46
↓ 32 callersMethodtop
Graph Theory/Eppsteins Algorithm.cpp:36
↓ 29 callersFunctionbuild
Data Structures/Sparse Table.cpp:7
↓ 27 callersMethodsize
Math/Faulhaber Formula Fastest.cpp:142
↓ 26 callersFunctionis_zero
Miscellaneous/Negative Base (Binary).cpp:51
↓ 26 callersFunctionmerge
Data Structures/Augmented DSU.cpp:29
↓ 25 callersFunctionorientation
Geometry/Geometry 2D.cpp:43
↓ 24 callersMethoderase
Data Structures/Treap.cpp:60
↓ 23 callersFunctiondfs
Graph Theory/DFS.cpp:7
↓ 22 callersMethodtop
Data Structures/Persistent Meldable Heap.cpp:35
↓ 19 callersMethodempty
Data Structures/Persistent Meldable Heap.cpp:38
↓ 19 callersFunctionroot
cycle decomposition of the k-th root of p with minimum disjoint cycles if toggle = 1, then the parity of number of cycles will be different from the o
Miscellaneous/K-th Root of a Permutation.cpp:51
↓ 19 callersMethodsize
Number Theory/Stirling Number of the Second Kind for Fixed k.cpp:162
↓ 18 callersFunctioncopy
Data Structures/Treap persistent.cpp:21
↓ 18 callersMethodpush
Miscellaneous/Maximum of Sum of All Pair Distances of K nodes in a Tree.cpp:45
↓ 18 callersMethodsize
Math/Subset Sum Problem.cpp:142
↓ 17 callersMethoderase
Geometry/Onion Decomposition.cpp:82
↓ 17 callersMethodinsert
import constructors
Geometry/Geometry 3D.cpp:598
↓ 17 callersMethodinsert
Math/Basis Vector.cpp:17
↓ 16 callersFunctiondist
Geometry/Geometry 2D.cpp:40
↓ 16 callersMethodinsert
Graph Theory/Eppsteins Algorithm.cpp:30
↓ 16 callersFunctionpower
Number Theory/Discrete Root Faster.cpp:5
↓ 15 callersMethodmod_xk
Math/Polynomial.cpp:206
↓ 15 callersFunctionupdate
Data Structures/MOs with Update.cpp:29
↓ 14 callersFunctioninsert
Insert a node
Data Structures/BST.cpp:33
↓ 14 callersFunctionpush
Geometry/Rectangle Union.cpp:14
↓ 13 callersFunctionPOW
Math/FWHT in Any Base.cpp:6
↓ 13 callersMethodclear
fraction part
Game Theory/Blue Red Hackenbush.cpp:61
↓ 13 callersMethodclear
positions of all the values clearing the treap
Data Structures/Implicit Treap.cpp:58
↓ 13 callersFunctioncross
Geometry/Convex Hull Dynamic.cpp:18
↓ 13 callersMethodinsert
Data Structures/Trie.cpp:19
↓ 13 callersMethodmod_xk
Math/Faulhaber Formula Fastest.cpp:183
↓ 12 callersFunctionaccess
Strings/Suffix Automaton Distinct Substring Queries in Range.cpp:145
↓ 12 callersMethodadd_edge
Graph Theory/L R Flow with MCMF.cpp:30
↓ 12 callersFunctionbuild
Graph Theory/Dominator Tree.cpp:30
↓ 12 callersFunctioncombine
Data Structures/Reachability Tree.cpp:78
↓ 12 callersFunctiondist2
Geometry/Geometry 2D.cpp:39
↓ 12 callersFunctionf
Math/Polynomial Sum.cpp:97
↓ 12 callersMethodfind
Graph Theory/Manhattan MST.cpp:20
↓ 12 callersMethodr
Geometry/Voronoi Diagram.cpp:32
↓ 12 callersMethodr
Geometry/Delaunay Triangulation.cpp:33
↓ 12 callersFunctionsplay
Strings/Suffix Automaton Distinct Substring Queries in Range.cpp:127
↓ 12 callersMethodtruncate
Geometry/Geometry 2D.cpp:29
↓ 11 callersMethodcount
Strings/Bit LCS.cpp:48
↓ 11 callersFunctionerase
Data Structures/Treap persistent.cpp:76
↓ 11 callersFunctionmul_mod
Number Theory/Pollard Rho.cpp:13
↓ 11 callersFunctionupd
Geometry/Rectangle Union.cpp:23
↓ 10 callersFunctionadd_edge
Graph Theory/Dijkstra on Segment Tree.cpp:7
↓ 10 callersMethodclear
tracks digits in (-base, base)
Miscellaneous/Trygub Num.cpp:10
↓ 10 callersMethodclear
Strings/Bit LCS.cpp:14
↓ 10 callersFunctionconvolve
Number Theory/Sum of nCi for a Fixed Large n.cpp:98
↓ 10 callersMethodcross
Geometry/Delaunay Triangulation.cpp:17
↓ 10 callersMethodget
Number Theory/Sum of nCi for a Fixed Large n.cpp:66
↓ 10 callersMethodr
Data Structures/Top Tree.cpp:25
↓ 10 callersFunctionshift
Number Theory/Stirling Number of the First Kind for Fixed n.cpp:48
↓ 10 callersFunctionsign
Geometry/Half Plane Intersection Dynamic.cpp:7
↓ 10 callersFunctionyo
Data Structures/MOs on tree.cpp:37
↓ 9 callersMethodcount
Graph Theory/Krushkal's MST.cpp:14
↓ 9 callersFunctioncross
Geometry/Half Plane Intersection.cpp:36
↓ 9 callersFunctiondist
Graph Theory/LCA.cpp:30
↓ 9 callersFunctionget
Strings/Number of Palindromes in Range.cpp:117
↓ 9 callersFunctioninverse
Number Theory/Linear Diophantine Equation Three Variables with Nonnegative Solutions.cpp:16
↓ 9 callersFunctionmul
Number Theory/Powerful Number Sieve.cpp:32
↓ 9 callersFunctionrotate
Strings/Suffix Automaton Distinct Substring Queries in Range.cpp:119
↓ 9 callersMethodsize
Miscellaneous/Matroid Intersection Color Linear Matroid.cpp:26
↓ 9 callersFunctionsplit
returns such 𝑗(0 indexed), that the 𝑖-the element is the beginning of the 𝑗-th segment
Data Structures/Square Root Decomposition With Reverse Update.cpp:59
↓ 9 callersFunctionsq
Geometry/Geometry 3D.cpp:76
↓ 8 callersFunctionadd
Graph Theory/Manhattan MST.cpp:39
↓ 8 callersFunctionadd
add an edge of type (x_u - x_v OP w) here ty = 0 means OP is <= ty = 1 means OP is >= ty = 2 means OP is == */
Graph Theory/System Of Difference Constraints.cpp:55
↓ 8 callersMethodadd
add this type of condition-> add(a,af,b,bf) means if a is af then b must need to be bf
Graph Theory/2 SAT.cpp:54
↓ 8 callersFunctionadd_edge
Data Structures/Centroid Decomposition Persistent.cpp:7
↓ 8 callersFunctionadd_edge
Data Structures/Binarizing a Tree.cpp:7
↓ 8 callersFunctionconj
Math/NTT With Any Prime MOD.cpp:14
↓ 8 callersFunctionconj
Math/Polynomial.cpp:14
↓ 8 callersFunctionconj
Math/Subset Sum Problem.cpp:14
next →1–100 of 3,514, ranked by callers