Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/EndlessCheng/codeforces-go
/ functions
Functions
8,098 in github.com/EndlessCheng/codeforces-go
⨍
Functions
8,098
◇
Types & classes
911
↓ 4 callers
Function
min
(a, b int)
leetcode/biweekly/35/d/d.go:80
↓ 4 callers
Function
min
(a, b int)
leetcode/weekly/236/c/c.go:32
↓ 4 callers
Function
min
(a, b int)
leetcode/weekly/183/c/c.go:28
↓ 4 callers
Function
minPushBox
(grid [][]byte)
leetcode/weekly/163/main.go:141
↓ 4 callers
Function
newTreap527C
()
main/500-599/527C_treap.go:42
↓ 4 callers
Method
onLeft
点 a 是否在 l 左侧
copypasta/geometry.go:309
↓ 4 callers
Method
ord
(c byte)
main/gym/101628K.go:107
↓ 4 callers
Function
parseRawArg
(tp reflect.Type, rawData string)
leetcode/testutil/leetcode.go:69
↓ 4 callers
Method
push
(v int)
copypasta/heap.go:38
↓ 4 callers
Method
push
(v vdPair)
copypasta/graph.go:972
↓ 4 callers
Method
pushUp
()
leetcode/weekly/196/d/d.go:28
↓ 4 callers
Method
put
(l, r int, b byte)
main/500-599/558E.go:64
↓ 4 callers
Method
rotate
(d int)
main/800-899/840D.go:17
↓ 4 callers
Method
size
()
main/600-699/610D.go:28
↓ 4 callers
Method
size
()
leetcode/weekly/175/c/c.go:11
↓ 4 callers
Method
spread
(o int)
copypasta/segment_tree.go:233
↓ 4 callers
Method
sub
(b vec617)
main/600-699/617D.go:10
↓ 4 callers
Method
sub
(b vec)
leetcode/season/2020spring2/e/e.go:9
↓ 3 callers
Method
Byte
(b byte)
main/testutil/rand.go:43
↓ 3 callers
Function
CheckRunResultsInfWithTarget
无尽验证模式 inputGenerator 除了返回随机输入数据外,还需要返回一个闭包,这个闭包接收 runFunc 的输出结果,根据输入数据验证输出结果是否正确
main/testutil/testutil.go:245
↓ 3 callers
Function
CountNodes
(root *TreeNode)
leetcode/testutil/predefined_type.go:102
↓ 3 callers
Function
DrawChart
(x, y []float64, showLine bool)
misc/imageutil/chart.go:109
↓ 3 callers
Method
IntSliceOrdered
IntSliceOrdered generates a random ordered int slice with a fixed size and its values in range [min, max]
main/testutil/rand.go:127
↓ 3 callers
Method
Len
()
leetcode/weekly/237/c/c.go:12
↓ 3 callers
Method
Permutation
Permutation generates a random permutation with a fixed size and its values in range [min, max]
main/testutil/rand.go:197
↓ 3 callers
Method
Pop
()
copypasta/heap.go:37
↓ 3 callers
Method
PopAtStack
(index int)
leetcode/weekly/151/d/d.go:62
↓ 3 callers
Method
Push
func (h hp) Less(i, j int) bool { return h.IntSlice[i] > h.IntSlice[j] } // 加上这行变成最大堆
copypasta/heap.go:36
↓ 3 callers
Function
abs
(x int)
misc/nowcoder/6778/a/a.go:31
↓ 3 callers
Method
access
建立一条从树根到 o 的实链(极大实链,即 o 位于该实链末尾,下同),然后将 o 旋转到 splay 的根
copypasta/link_cut_tree.go:127
↓ 3 callers
Method
add
向量基本运算
misc/luogu/p2586.go:31
↓ 3 callers
Function
closestPair
(ps []vec29)
main/400-499/429D.go:34
↓ 3 callers
Method
cmp
(b int)
main/300-399/387E.go:19
↓ 3 callers
Method
cmp
(b int)
main/400-499/424D.go:16
↓ 3 callers
Method
cmp
(b int)
main/600-699/610D.go:17
↓ 3 callers
Method
cmp
(b int)
main/gym/101628K.go:16
↓ 3 callers
Method
cmp
(b int)
leetcode/biweekly/51/d/d.go:12
↓ 3 callers
Method
cmp
(b int)
leetcode/biweekly/36/d/d.go:12
↓ 3 callers
Method
cmp
(b int)
leetcode/weekly/194/c/c.go:9
↓ 3 callers
Method
cmp
(b int)
leetcode/weekly/196/d/d.go:10
↓ 3 callers
Method
delete
(int)
copypasta/bst.go:166
↓ 3 callers
Method
delete
(key int)
leetcode/weekly/180/d/d.go:83
↓ 3 callers
Method
derivative
()
copypasta/math_ntt.go:265
↓ 3 callers
Method
det
(b vec613)
main/600-699/613A.go:21
↓ 3 callers
Method
det
(b vec)
misc/nowcoder/10325/c/c.go:12
↓ 3 callers
Method
dis2
(b vecF)
leetcode/weekly/189/d/d.go:9
↓ 3 callers
Method
do
(o int, m matrix18)
main/700-799/718C.go:72
↓ 3 callers
Method
do
(o, v, i int)
main/1500-1599/1557D.go:23
↓ 3 callers
Method
do
(O, v int)
main/1400-1499/1439C.go:36
↓ 3 callers
Method
do
(o, v int)
main/edu/2/segmenttree2/step3/a/main.go:41
↓ 3 callers
Method
do
(o, v int)
main/edu/2/segmenttree2/step3/c/main.go:32
↓ 3 callers
Method
do
(o int)
main/edu/2/segmenttree2/step3/b/main.go:28
↓ 3 callers
Method
do
(o, v int)
main/edu/2/segmenttree2/step4/d/main.go:41
↓ 3 callers
Method
do
(o, d int)
main/edu/2/segmenttree2/step4/f/main.go:53
↓ 3 callers
Method
do
(o, v int)
main/edu/2/segmenttree2/step4/c/main.go:37
↓ 3 callers
Method
do
(o int, v int64)
main/edu/2/segmenttree2/step4/b/main.go:30
↓ 3 callers
Method
doAdd
(o int, v int64)
main/edu/2/segmenttree2/step4/a/main.go:43
↓ 3 callers
Method
doAdd
(o, v int)
misc/luogu/p3373.go:36
↓ 3 callers
Method
doAdd
(o, v int)
leetcode/biweekly/37/d/d.go:28
↓ 3 callers
Method
doDown
(o, v int)
main/edu/2/segmenttree2/step4/e/main.go:41
↓ 3 callers
Method
doMul
(o, v int)
misc/luogu/p3373.go:30
↓ 3 callers
Method
doMul
(o, v int)
leetcode/biweekly/37/d/d.go:22
↓ 3 callers
Method
doSet
如果区间已经有了赋值标记: - 赋值操作 更新 赋值标记 - 加操作 更新 赋值标记 如果区间已经有了加标记: - 赋值操作 更新 赋值标记,清空 加标记 - 加操作 更新 加标记 我们发现,赋值标记和加标记并不会共存
main/edu/2/segmenttree2/step4/a/main.go:37
↓ 3 callers
Method
doUp
(o, v int)
main/edu/2/segmenttree2/step4/e/main.go:36
↓ 3 callers
Method
dot
(b vec1359)
main/1300-1399/1359F.go:13
↓ 3 callers
Method
empty
()
misc/atcoder/abc170/e/e.go:24
↓ 3 callers
Function
f
github.com/EndlessCheng/codeforces-go 另一种方法是判断三进制是否包含 2
leetcode/biweekly/47/b/b.go:7
↓ 3 callers
Function
fill
(c *cell, v int)
main/600-699/650C_test.go:49
↓ 3 callers
Method
find
(x int)
misc/acwing/weekly/25/c/c.go:59
↓ 3 callers
Method
find
(x int)
leetcode/weekly/257/d/d.go:65
↓ 3 callers
Method
findRoot
()
copypasta/leftist_tree.go:32
↓ 3 callers
Method
floor
(int)
copypasta/odt_bst.go:24
↓ 3 callers
Function
gcd
(a, b int)
misc/acwing/weekly/21/c/c.go:35
↓ 3 callers
Function
handleProblems
(session *grequests.Session, problems []*problem)
copypasta/template/leetcode/generator.go:552
↓ 3 callers
Method
hasShips
(topRight, bottomLeft []int)
leetcode/biweekly/14/d/d.go:9
↓ 3 callers
Method
idft
(a []int64)
copypasta/math_ntt.go:153
↓ 3 callers
Function
ifwt
(a []int)
leetcode/weekly/233/d/d.go:17
↓ 3 callers
Method
intSlice
(size int, min, max int)
main/testutil/rand.go:107
↓ 3 callers
Method
integral
()
copypasta/math_ntt.go:274
↓ 3 callers
Method
len
()
main/600-699/671A.go:16
↓ 3 callers
Method
len
()
misc/luogu/p2586.go:33
↓ 3 callers
Method
len2
()
main/1-99/1C.go:14
↓ 3 callers
Method
less
不常用
copypasta/geometry.go:187
↓ 3 callers
Method
ln
多项式对数函数 https://blog.orzsiyuan.com/archives/Polynomial-Natural-Logarithm/ https://oi-wiki.org/math/poly/ln-exp/ 模板题 https://www.luogu.com.cn/problem/P
copypasta/math_ntt.go:383
↓ 3 callers
Function
login
使用用户名和密码登录
copypasta/template/leetcode/generator.go:19
↓ 3 callers
Method
maintain
(o int)
main/400-499/438D.go:21
↓ 3 callers
Method
maintain
()
copypasta/scapegoat_tree.go:48
↓ 3 callers
Method
maintain
(o int)
copypasta/segment_tree.go:76
↓ 3 callers
Method
maintain
()
copypasta/link_cut_tree.go:40
↓ 3 callers
Method
maintain
对于取名叫 maintain 还是 pushUp,由于操作的对象是当前节点,个人认为取名 maintain 更为准确
copypasta/splay.go:51
↓ 3 callers
Method
maintain
()
copypasta/kd_tree.go:56
↓ 3 callers
Method
makeRoot
建立一条从树根到 o 的实链,然后将 o 变成树的根节点
copypasta/link_cut_tree.go:139
↓ 3 callers
Function
max
(a, b int)
misc/acwing/weekly/3/c/c.go:74
↓ 3 callers
Function
max
(a, b int)
misc/acwing/weekly/7/c/c.go:49
↓ 3 callers
Function
max
(a, b int)
misc/atcoder/dp/w/w.go:96
↓ 3 callers
Function
max
(a, b int)
leetcode/weekly/143/c/c.go:31
↓ 3 callers
Function
max
(a, b int)
leetcode/weekly/212/d/d.go:105
↓ 3 callers
Function
max
(a, b int)
leetcode/weekly/133/c/c.go:26
↓ 3 callers
Function
max
(a, b int)
leetcode/weekly/231/d/d.go:50
↓ 3 callers
Function
max
(a, b int)
leetcode/weekly/187/c/c.go:10
← previous
next →
201–300 of 8,098, ranked by callers