MCPcopy Create free account

hub / github.com/Priyansh19077/CP-Templates / functions

Functions278 in github.com/Priyansh19077/CP-Templates

↓ 82 callersFunctionbrute_sum
tests/range_utils.h:10
↓ 64 callersMethodmake_query
Tree Algorithms/HLD.cpp:168
↓ 27 callersMethodmake_update
Tree Algorithms/HLD.cpp:164
↓ 25 callersFunctionrange_assign
Apply a range assign to a reference array alongside a LazySGT update so both stay in sync and brute_sum can verify queries.
tests/range_utils.h:41
↓ 16 callersFunctionbrute_xor
tests/range_utils.h:16
↓ 16 callersMethodqueryNormal
Tree Algorithms/LCA_O_1.cpp:34
↓ 14 callersFunctionMillerRabin
Number Theory/MillerRabinDeterministic.cpp:25
↓ 10 callersFunctionswap
Graph Algorithms/Kruskals.cpp:67
↓ 8 callersFunctionbrute_distinct
tests/range_utils.h:34
↓ 7 callersFunctionget
Graph Algorithms/Kruskals.cpp:79
↓ 6 callersMethodmerge
Tree Algorithms/HLD.cpp:181
↓ 6 callersFunctionnthFibonacciNumber
Common Techniques/Fibonacci in LogN.cpp:29
↓ 6 callersMethodqueryIdempotent
Tree Algorithms/LCA_O_1.cpp:44
↓ 5 callersFunctionbrute_min
tests/range_utils.h:22
↓ 5 callersFunctiondfs
--------------------------------------------------------------------------------------------------------------------------*/
Graph Algorithms/Cycle_in_DAG.cpp:38
↓ 3 callersFunctiondistinctQueries
Common Techniques/Distinct in Range Queries.cpp:17
↓ 3 callersFunctiongetD
Tree Algorithms/Centroid_Tree.cpp:4
↓ 3 callersMethodmerge
Tree Algorithms/LCA_O_1.cpp:62
↓ 3 callersMethodmerge
Range Queries/Sparse_Table.cpp:56
↓ 3 callersMethodmerge
Range Queries/Segment_tree.cpp:67
↓ 3 callersMethodmerge
Range Queries/Lazy_SGT.cpp:92
↓ 3 callersFunctionmminvprime
for non prime b
String Algorithms/Suffix_array.cpp:34
↓ 3 callersFunctionmod_mul
TemplateStuff/Template.cpp:70
↓ 2 callersFunction_bit_query
Common Techniques/Distinct in Range Queries.cpp:11
↓ 2 callersFunction_bit_update
Common Techniques/Distinct in Range Queries.cpp:8
↓ 2 callersFunction_fib_mul
Common Techniques/Fibonacci in LogN.cpp:8
↓ 2 callersMethodadd
Range Queries/Mo_algo.cpp:57
↓ 2 callersMethodkthParent
Tree Algorithms/HLD.cpp:58
↓ 2 callersFunctionmminvprime
for non prime b
Graph Algorithms/Cycle_in_DAG.cpp:32
↓ 2 callersFunctionmminvprime
for non prime b
Graph Algorithms/Topological_sorting.cpp:32
↓ 2 callersMethodrem
Range Queries/Mo_algo.cpp:60
↓ 1 callersFunction_fib_matpow
Common Techniques/Fibonacci in LogN.cpp:20
↓ 1 callersFunction_mr_composite
Number Theory/MillerRabinDeterministic.cpp:15
↓ 1 callersFunction_mr_pow
Number Theory/MillerRabinDeterministic.cpp:6
↓ 1 callersMethodapply
Tree Algorithms/HLD.cpp:191
↓ 1 callersMethodapply
Range Queries/Segment_tree.cpp:76
↓ 1 callersMethodapply
Range Queries/Lazy_SGT.cpp:104
↓ 1 callersFunctionbrute_distinct
tests/test_distinct_queries.cpp:6
↓ 1 callersFunctioncheck_cycle
Graph Algorithms/Cycle_in_DAG.cpp:57
↓ 1 callersMethodcombine
Range Queries/Lazy_SGT.cpp:107
↓ 1 callersFunctioncomputeSubtrees
Tree Algorithms/Centroid_Tree.cpp:7
↓ 1 callersFunctioncounting_sort
--------------------------------------------------------------------------------------------------------------------------*/
String Algorithms/Suffix_array.cpp:39
↓ 1 callersFunctiondecompose
Tree Algorithms/Centroid_Tree.cpp:26
↓ 1 callersFunctiondfs
Graph Algorithms/EulerianCircuit.cpp:1
↓ 1 callersFunctiondfs
--------------------------------------------------------------------------------------------------------------------------*/
Graph Algorithms/Topological_sorting.cpp:38
↓ 1 callersFunctionexpo
TemplateStuff/Template.cpp:61
↓ 1 callersFunctionexpo
String Algorithms/Suffix_array.cpp:29
↓ 1 callersFunctionexpo
Graph Algorithms/Prims.cpp:31
↓ 1 callersFunctionexpo
Graph Algorithms/Cycle_in_DAG.cpp:29
↓ 1 callersFunctionexpo
Graph Algorithms/4.KosaRaju_Algo_SCC.cpp:62
↓ 1 callersFunctionexpo
Graph Algorithms/Topological_sorting.cpp:29
↓ 1 callersFunctionexpo
Graph Algorithms/PrimsUpdated.cpp:62
↓ 1 callersFunctionexpo
Graph Algorithms/Kruskals.cpp:62
↓ 1 callersFunctionextendgcd
TemplateStuff/Template.cpp:62
↓ 1 callersFunctionextendgcd
String Algorithms/Suffix_array.cpp:32
↓ 1 callersFunctionextendgcd
Graph Algorithms/Prims.cpp:33
↓ 1 callersFunctionextendgcd
Graph Algorithms/Cycle_in_DAG.cpp:30
↓ 1 callersFunctionextendgcd
Graph Algorithms/4.KosaRaju_Algo_SCC.cpp:63
↓ 1 callersFunctionextendgcd
Graph Algorithms/Topological_sorting.cpp:30
↓ 1 callersFunctionextendgcd
Graph Algorithms/PrimsUpdated.cpp:63
↓ 1 callersFunctionextendgcd
Graph Algorithms/Kruskals.cpp:63
↓ 1 callersMethodfindAnswer
Tree Algorithms/HLD.cpp:282
↓ 1 callersFunctionfindCentroid
Tree Algorithms/Centroid_Tree.cpp:17
↓ 1 callersFunctiongetComponent
Graph Algorithms/4.KosaRaju_Algo_SCC.cpp:88
↓ 1 callersMethodgetLCA
Tree Algorithms/HLD.cpp:96
↓ 1 callersFunctiongetSCC
Graph Algorithms/4.KosaRaju_Algo_SCC.cpp:97
↓ 1 callersMethodkthParent
Tree Algorithms/LCA_tree.cpp:53
↓ 1 callersMethodmakeUpdateatIndex
Tree Algorithms/HLD.cpp:293
↓ 1 callersFunctionmerge
Graph Algorithms/Kruskals.cpp:82
↓ 1 callersFunctionmminvprime
for non prime b
TemplateStuff/Template.cpp:64
↓ 1 callersFunctionmminvprime
for non prime b
Graph Algorithms/4.KosaRaju_Algo_SCC.cpp:65
↓ 1 callersFunctionmminvprime
for non prime b
Graph Algorithms/PrimsUpdated.cpp:65
↓ 1 callersFunctionmminvprime
for non prime b
Graph Algorithms/Kruskals.cpp:65
↓ 1 callersFunctionmod_mul
Graph Algorithms/4.KosaRaju_Algo_SCC.cpp:72
↓ 1 callersFunctionmod_mul
Graph Algorithms/PrimsUpdated.cpp:72
↓ 1 callersFunctionmod_mul
Graph Algorithms/Kruskals.cpp:72
↓ 1 callersFunctionmod_sub
TemplateStuff/Template.cpp:71
↓ 1 callersFunctionprims
Graph Algorithms/Prims.cpp:57
↓ 1 callersFunctionrun_tests
tests/test_sparse_table.cpp:15
↓ 1 callersFunctionrun_tests
tests/test_miller_rabin.cpp:6
↓ 1 callersFunctionrun_tests
tests/test_fibonacci.cpp:6
↓ 1 callersFunctionrun_tests
tests/test_distinct_queries.cpp:10
↓ 1 callersFunctionrun_tests
tests/test_mo_algo.cpp:37
↓ 1 callersFunctionrun_tests
tests/test_lazy_sgt.cpp:7
↓ 1 callersFunctionrun_tests
tests/test_segment_tree.cpp:7
↓ 1 callersMethodsave
Range Queries/Mo_algo.cpp:63
↓ 1 callersFunctionsolve
--------------------------------------------------------------------------------------------------------------------------*/
TemplateStuff/Template.cpp:76
↓ 1 callersFunctionsolve
Graph Algorithms/4.KosaRaju_Algo_SCC.cpp:116
↓ 1 callersFunctionsolve
Graph Algorithms/PrimsUpdated.cpp:80
↓ 1 callersFunctionsolve
Graph Algorithms/Kruskals.cpp:95
↓ 1 callersFunctiontopoSort
Graph Algorithms/4.KosaRaju_Algo_SCC.cpp:79
↓ 1 callersFunctiontopo_sort
Graph Algorithms/Topological_sorting.cpp:49
FunctionBellmanFord
Graph Algorithms/BellmanFord.cpp:1
MethodBinaryLifting
Tree Algorithms/Binary_Lifting.cpp:6
MethodBinaryLifting
Tree Algorithms/LCA_tree.cpp:8
MethodBinaryLifting
Tree Algorithms/HLD.cpp:11
FunctionDijkstra
Graph Algorithms/Dijkstra.cpp:4
MethodEdmondsKarp
Graph Algorithms/EdmondsKarp.cpp:72
FunctionEulerCircuits
Graph Algorithms/EulerianCircuit.cpp:10
MethodFlow
Graph Algorithms/EdmondsKarp.cpp:16
next →1–100 of 278, ranked by callers