Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EgorKulikov/rust_algo
/ functions
Functions
16,849 in github.com/EgorKulikov/rust_algo
⨍
Functions
16,849
◇
Types & classes
2,204
↓ 4,937 callers
Method
peek
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:929
↓ 4,361 callers
Method
print_line
(&mut self, s: T)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:1179
↓ 3,807 callers
Method
flush
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:1156
↓ 3,732 callers
Function
run_tests
()
archive/2021/12/5.12.2021 - Yandex - Stage 8_ Grand Prix of Poland/f_fence.rs:172
↓ 1,712 callers
Method
is_empty
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:959
↓ 1,544 callers
Method
len
(&self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:179
↓ 1,526 callers
Method
unwrap
(self)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:2251
↓ 1,498 callers
Method
push
(&mut self, _delta: ())
archive/2024/12/NOIP2024 自测(民间数据)/p11364_noip2024.rs:50
↓ 1,494 callers
Method
skip_whitespace
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:937
↓ 1,143 callers
Method
read
(inp: &mut Input)
archive/2021/12/Advent of Code/day18a.rs:28
↓ 1,107 callers
Method
call
(&mut self, n: usize, m: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:1212
↓ 933 callers
Method
iter
(&self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:200
↓ 925 callers
Method
check_empty
(&mut self)
algo_lib/src/io/input.rs:139
↓ 877 callers
Method
read
(input: &mut AlgoInput)
archive/2026/04/2026.04.26 - JR WEST and ALGO ARTIS Programming Contest (AtCoder Heuristic Contest 064)/scoring.rs.rs:29
↓ 871 callers
Method
read
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:963
↓ 864 callers
Method
read_str
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:2337
↓ 847 callers
Method
to
(&self)
algo_lib/src/graph/edges/edge.rs:43
↓ 790 callers
Method
is_none
(&self)
algo_lib/src/collections/indexed_heap.rs:48
↓ 736 callers
Method
minim
(&mut self, other: Self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:532
↓ 733 callers
Method
maxim
(&mut self, other: Self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:540
↓ 711 callers
Method
insert
(&mut self, x: u32, bit: usize)
archive/2024/06/3.6.2024 - Codeforces Round #950/g_yasya_itainstvennoe_derevo.rs:40
↓ 524 callers
Method
as_slice
(&self)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:325
↓ 520 callers
Method
read
(input: &mut Input)
archive/2022/12/12.2022 - Advent of Code/day21.rs:45
↓ 485 callers
Method
dec
(self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:731
↓ 468 callers
Method
len
(&self)
archive/2024/12/20.12.2024 - Codeforces Round 994 (Div. 2)/f_mexormania.rs:54
↓ 464 callers
Method
to_string
(&self)
archive/2021/12/Advent of Code/day18a.rs:153
↓ 448 callers
Method
clone
(&self)
archive/2021/12/Advent of Code/day18a.rs:162
↓ 431 callers
Method
into_iter
(self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:268
↓ 420 callers
Method
add_edge
(&mut self, edge: Rational<i32>)
archive/2022/3/20.3.2022 - Codeforces Round #778 (Div. 1 + Div. 2, основан на Финале Технокубка 2022)/d_urok_zelevareniya.rs:49
↓ 413 callers
Method
set_bool_output
(&mut self, bool_output: BoolOutput)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:1214
↓ 400 callers
Method
push
(&mut self, delta: i32, _left: usize, _right: usize)
archive/2022/11/6.11.2022 - iiitv.str #4/strong_array.rs:52
↓ 321 callers
Method
pop
(&mut self)
algo_lib/src/collections/indexed_heap.rs:124
↓ 317 callers
Method
push
(&mut self, delta: &Query, _left: usize, _right: usize)
archive/2023/10/28.10.2023 - Universal Cup Stage #3/j.rs:91
↓ 300 callers
Method
indices
(&self)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:444
↓ 294 callers
Method
read
(input: &mut Input)
archive/Kattis/Legacy/kannas_friendship.rs:22
↓ 292 callers
Method
print_line
(&mut self, s: T)
algo_lib/src/io/output.rs:109
↓ 277 callers
Method
copy_iter
(&'a self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:380
↓ 275 callers
Method
len
(&self)
archive/2026/06/2026.06.10 - Standard Round 4/task_11e_median_witness.rs:50
↓ 274 callers
Method
contains
(&self, p: Point<T>)
algo_lib/src/geometry/ray.rs:26
↓ 262 callers
Method
sorted
(mut self)
algo_lib/src/collections/vec_ext/sorted.rs:10
↓ 253 callers
Method
sort
(&mut self)
archive/2026/02/2026.02.21 - GP of St. Petersburg/c_string_workshop.rs:70
↓ 247 callers
Method
set
archive/2026/01/2026.01.29 - 嘟嘟哒哒大作战/main.cpp:115
↓ 233 callers
Method
unwrap
(self)
algo_lib/src/io/eol.rs:8
↓ 229 callers
Method
peek
(&mut self)
algo_lib/src/io/input.rs:94
↓ 225 callers
Method
call
(&mut self, a1: usize, a2: usize, a3: usize)
archive/2026/03/2026.03.07 - GP of Belarus/b_building_a_reactor.rs:43
↓ 224 callers
Method
abs
(mut self)
algo_lib/src/numbers/rational.rs:51
↓ 215 callers
Method
read
(input: &mut Input)
archive/2023/3/18.3.2023 - Universal Cup Stage #8/d.rs:15
↓ 210 callers
Method
flush
(&mut self)
algo_lib/src/io/output.rs:87
↓ 206 callers
Method
read
(input: &mut Input)
algo_lib/tests/f_mountain.rs:24
↓ 201 callers
Method
remove
(&mut self, val: usize, bit: usize)
archive/2025/12/2025.12 - CodeRun Winter Challenge/coderun20.rs:87
↓ 200 callers
Method
reverse
(&self, start: usize, end: usize, mut cur: usize)
archive/2022/1/25.1.2022 - SNWS-2022, Round 4/a_analytics.rs:59
↓ 197 callers
Method
get
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:912
↓ 194 callers
Method
test_samples
(&self)
tester/src/lib.rs:135
↓ 183 callers
Method
push_back
(&mut self, other: Self)
algo_lib/src/collections/treap/treap.rs:656
↓ 177 callers
Method
read_vec
(&mut self, size: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:966
↓ 175 callers
Method
read
(input: &mut Input)
archive/2023/10/28.10.2023 - Universal Cup Stage #3/j.rs:21
↓ 174 callers
Method
is_empty
noinspection RsSelfConvention
algo_lib/src/io/input.rs:134
↓ 170 callers
Method
push
(&mut self, c: impl Primitive<u64>)
algo_lib/src/string/hash.rs:111
↓ 162 callers
Method
last
(&self)
algo_lib/src/collections/multi_set.rs:170
↓ 160 callers
Method
c
(&self, n: usize, k: usize)
algo_lib/src/numbers/mod_int/mod_utils.rs:49
↓ 160 callers
Method
len
(&self)
algo_lib/src/graph/mod.rs:414
↓ 141 callers
Method
print_per_line
(&mut self, arg: &[T])
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:1190
↓ 127 callers
Method
lower_bound
(&self, el: &T)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:616
↓ 126 callers
Method
fill
(&mut self, value: bool)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:182
↓ 126 callers
Method
take
(&mut self)
algo_lib/src/misc/maybe.rs:21
↓ 123 callers
Method
count_ones
(&self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:206
↓ 118 callers
Method
partial_sums
(&self)
archive/2025/02/22.02.2025 - Universal Cup Finals/f.rs:1163
↓ 116 callers
Method
iter
( row: usize, col: usize, n: usize, m: usize, )
algo_lib/src/misc/dirs.rs:10
↓ 110 callers
Method
clear
(&mut self)
archive/2026/05/2026.05.16 - GP of Wulin/b_cloud_ascending_platform.rs:55
↓ 110 callers
Method
power
(&mut self, a: &[M], exp: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:1589
↓ 106 callers
Method
upper_div
(self, other: Self)
archive/2025/02/22.02.2025 - Universal Cup Finals/f.rs:1176
↓ 105 callers
Method
iter_mut
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:223
↓ 101 callers
Method
find
(&self, value: &T)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:262
↓ 101 callers
Method
path
(&self, from: usize, to: usize)
algo_lib/src/graph/lca.rs:93
↓ 99 callers
Method
print
(&mut self, s: T)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:1176
↓ 98 callers
Method
push
(&mut self, delta: &usize)
archive/2024/11/30.11.2024 - The 3rd Universal Cup. Stage 19_ Shenyang/h_guide_map.rs:84
↓ 94 callers
Method
copy_sum
(&'a self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:456
↓ 92 callers
Method
lca
(&self, first: usize, second: usize)
algo_lib/src/graph/lca.rs:28
↓ 90 callers
Method
copy_count
(&'a self, val: T)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:513
↓ 88 callers
Function
gcd
(mut a: T, mut b: T)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:1349
↓ 87 callers
Method
add_edge
(&mut self, (from, edge): (usize, E))
algo_lib/src/graph/mod.rs:124
↓ 87 callers
Method
read_real
(&mut self)
algo_lib/src/numbers/real.rs:201
↓ 85 callers
Method
read_char_table
(&mut self, d1: usize, d2: usize)
archive/2025/02/22.02.2025 - Universal Cup Finals/l.rs:419
↓ 83 callers
Method
weight
(&self)
algo_lib/src/graph/edges/weighted_edge.rs:81
↓ 81 callers
Method
flush
(&mut self)
archive/2021/12/1.12.2021 - Codeforces - Codeforces Round #722 (Div. 1)/a_ogromnoe_derevo_parsa.rs:103
↓ 81 callers
Method
read
(input: &mut Input)
archive/Kattis/Legacy/18.03.2025/hitting_the_targets.rs:20
↓ 80 callers
Method
gen_range
( &mut self, range: impl RangeBounds<T>, )
algo_lib/src/misc/random.rs:43
↓ 80 callers
Function
run_tests
()
archive/2021/12/1.12.2021 - Codeforces - Codeforces Round #722 (Div. 1)/a_ogromnoe_derevo_parsa.rs:108
↓ 79 callers
Method
next_token
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/c.rs:945
↓ 78 callers
Method
read_line
(&mut self)
archive/2025/02/22.02.2025 - Universal Cup Finals/k.rs:2343
↓ 76 callers
Method
do_with
(mut self, f: F)
algo_lib/src/misc/extensions/do_with.rs:2
↓ 76 callers
Function
f
(x: usize)
archive/2023/4/1.4.2023 - Universal Cup Stage #10/d.rs:24
↓ 75 callers
Method
get
(&self, d: i128)
archive/2024/12/17.12.2024 - TheForces Round #38 (Tree-Forces)/f_mirror_ii.rs:47
↓ 75 callers
Method
split
(&mut self)
archive/2021/12/Advent of Code/day18a.rs:41
↓ 74 callers
Method
push
(&mut self, x: &(i32, u32), _: usize, _: usize)
archive/2024/02/29.2.2024 - Codeforces Round #930/d_bitovii_paradoks.rs:146
↓ 73 callers
Method
adj
Adjacency view for vertex `v`.
algo_lib/src/graph/mod.rs:254
↓ 73 callers
Method
get
(&mut self)
algo_lib/src/io/input.rs:76
↓ 73 callers
Method
read
(input: &mut Input)
archive/2021/12/28.12.2021 - BSSPC '21/s5_james_solves_his_tree_problems.rs:16
↓ 72 callers
Method
consecutive_iter
(&self)
algo_lib/src/collections/slice_ext/consecutive_iter.rs:9
↓ 71 callers
Method
get
( &self, variables: &HashMap<String, (Rational<i64>, Rational<i64>)>, )
archive/2022/12/12.2022 - Advent of Code/day21.rs:63
next →
1–100 of 16,849, ranked by callers