Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EndlessCheng/codeforces-go
/ functions
Functions
8,098 in github.com/EndlessCheng/codeforces-go
⨍
Functions
8,098
◇
Types & classes
911
↓ 2 callers
Method
top
()
leetcode/weekly/195/d/d.go:32
↓ 2 callers
Function
topSort
(g [][]int, deg, items []int)
leetcode/weekly/155/d/d.go:3
↓ 2 callers
Method
transform
(a, omega []complex128)
main/900-999/958F3.go:28
↓ 2 callers
Method
transform
(a, omega []int64)
copypasta/math_ntt.go:122
↓ 2 callers
Method
transform
注:下面 swap 的代码,另一种写法是初始化每个 i 对应的 j https://blog.csdn.net/Flag_z/article/details/99163939
copypasta/math_fft.go:44
↓ 2 callers
Function
trimSpaceAndNewLine
(s string)
leetcode/testutil/helper.go:5
↓ 2 callers
Method
uniqueSlice
TODO: O(size) 做法 https://mivik.blog.luogu.org/the-art-of-randomness
main/testutil/rand.go:174
↓ 2 callers
Method
unit
单位向量 https://en.wikipedia.org/wiki/Unit_vector
copypasta/geometry.go:214
↓ 2 callers
Method
update
(o, i int)
main/1300-1399/1380F.go:51
↓ 2 callers
Method
update
(o, i, v int)
main/1100-1199/1187D.go:29
↓ 2 callers
Method
update
(dstVersion, srcVersion int, idx int, val int)
main/800-899/813E.go:66
↓ 2 callers
Method
update
(o, l, r, v int)
main/edu/2/segmenttree2/step4/c/main.go:54
↓ 2 callers
Method
update
(o, l, r, v int)
misc/atcoder/dp/w/w.go:38
↓ 2 callers
Method
update
(l, r, val int)
leetcode/season/2019fall/e/e.go:72
↓ 2 callers
Method
update
(idx, val int)
leetcode/weekly/186/d/d.go:58
↓ 2 callers
Method
updateCnt
(o *node15, work bool)
main/900-999/915E.go:130
↓ 2 callers
Function
validMovesBishop
(x, y int)
leetcode/biweekly/64/d/d.go:21
↓ 2 callers
Function
validMovesRook
(dx,dy) 表示移动方向,t 表示移动的步数(时间)
leetcode/biweekly/64/d/d.go:6
↓ 1 callers
Method
Append
(v int)
leetcode/biweekly/37/d/d.go:92
↓ 1 callers
Method
Back
(steps int)
leetcode/weekly/192/c/c.go:22
↓ 1 callers
Function
BuildListNodeFromInts
(a []int)
leetcode/testutil/predefined_type.go:278
↓ 1 callers
Function
CF1067B
github.com/EndlessCheng/codeforces-go
main/1000-1099/1067B.go:10
↓ 1 callers
Function
CF514C
(_r io.Reader, _w io.Writer)
main/500-599/514C.go:44
↓ 1 callers
Function
Constructor
(capacity int)
leetcode/weekly/151/d/d.go:25
↓ 1 callers
Method
Empty
()
copypasta/deque.go:11
↓ 1 callers
Method
Float
Float generates a random float in range [min, max] with a fixed precision
main/testutil/rand.go:72
↓ 1 callers
Function
GenAtCoderContestTemplates
(contestID string)
copypasta/template/atcoder/generator.go:363
↓ 1 callers
Function
GenAtCoderProblemTemplate
(problemURL string)
copypasta/template/atcoder/generator.go:384
↓ 1 callers
Function
GenCodeforcesContestTemplates
生成 CF 比赛模板(需要先 cf race,以确认题目数量)
copypasta/template/generator.go:15
↓ 1 callers
Function
GenCodeforcesProblemTemplates
生成单道题目的模板(Codeforces)
copypasta/template/generator.go:58
↓ 1 callers
Function
GenLeetCodeTests
获取题目信息(含题目链接) contestTag 如 "weekly-contest-200",可以从比赛链接中获取
copypasta/template/leetcode/generator.go:602
↓ 1 callers
Function
GenNowCoderTemplates
(emailOrPhone, cipherPwd, contestDir string, contestID int, funcComment string)
copypasta/template/nowcoder/generator.go:194
↓ 1 callers
Function
GenTemplates
在某一路径下批量生成模板
copypasta/template/generator.go:152
↓ 1 callers
Function
GetBiweeklyContestTag
(contestID int)
copypasta/template/leetcode/tag.go:46
↓ 1 callers
Function
GetWeeklyContestTag
(contestID int)
copypasta/template/leetcode/tag.go:42
↓ 1 callers
Method
GraphEdges
TreeEdges generates a graph with n nodes, m edges, st-index, without self-loops and multiple edges TIPS: pass directed=false to generate a DAG.
main/testutil/rand.go:345
↓ 1 callers
Method
Has
(p int)
copypasta/bits.go:171
↓ 1 callers
Method
IntMatrix
IntMatrix generates a random int matrix with fixed row and col and its values in range [min, max]
main/testutil/rand.go:148
↓ 1 callers
Function
KuhnMunkres
(wt [][]int)
leetcode/weekly/251/c/c.go:8
↓ 1 callers
Function
LCS
github.com/EndlessCheng/codeforces-go
leetcode/weekly/229/d/d.go:4
↓ 1 callers
Method
Len
()
main/700-799/706C.go:16
↓ 1 callers
Method
Len
()
main/100-199/144D.go:13
↓ 1 callers
Method
Len
()
main/400-499/449B.go:18
↓ 1 callers
Method
Len
()
main/1400-1499/1422D.go:15
↓ 1 callers
Method
Len
()
leetcode/weekly/233/b/b.go:10
↓ 1 callers
Method
Lsh
置 0 左移 k 位 应用 https://leetcode-cn.com/problems/minimize-the-difference-between-target-and-chosen-elements/submissions/
copypasta/bits.go:178
↓ 1 callers
Method
Merge
将 c 的元素合并进 b
copypasta/bits.go:309
↓ 1 callers
Function
NewBitset
(n int)
misc/acwing/weekly/31/c/c.go:13
↓ 1 callers
Function
NewBitset
(n int)
copypasta/bits.go:167
↓ 1 callers
Method
Next
()
leetcode/biweekly/15/c/c.go:47
↓ 1 callers
Method
Next
(n int)
leetcode/weekly/101/a/a.go:12
↓ 1 callers
Function
ParsePoints
(rawPoints string)
misc/imageutil/helper.go:24
↓ 1 callers
Method
Pop
()
main/500-599/567E.go:21
↓ 1 callers
Method
Pop
()
main/500-599/507E.go:22
↓ 1 callers
Method
Pop
()
main/1300-1399/1353D.go:17
↓ 1 callers
Method
Pop
()
main/1200-1299/1283F.go:15
↓ 1 callers
Method
Pop
()
main/1200-1299/1239C.go:15
↓ 1 callers
Method
Pop
()
main/1200-1299/1251E2.go:15
↓ 1 callers
Method
Pop
()
main/700-799/786B.go:21
↓ 1 callers
Method
Pop
()
main/700-799/715B.go:21
↓ 1 callers
Method
Pop
()
main/1500-1599/1572A.go:16
↓ 1 callers
Method
Pop
()
main/1100-1199/1196F.go:21
↓ 1 callers
Method
Pop
()
main/400-499/449B.go:22
↓ 1 callers
Method
Pop
()
main/400-499/416C.go:15
↓ 1 callers
Method
Pop
()
main/1400-1499/1422D.go:19
↓ 1 callers
Method
Pop
()
main/1400-1499/1486E.go:18
↓ 1 callers
Method
Pop
()
main/1400-1499/1473E.go:21
↓ 1 callers
Method
Pop
()
main/800-899/884D.go:17
↓ 1 callers
Method
Pop
()
main/800-899/825E.go:16
↓ 1 callers
Method
Pop
()
main/1000-1099/1076D.go:21
↓ 1 callers
Method
Pop
()
misc/luogu/p1792.go:18
↓ 1 callers
Method
Pop
()
misc/acwing/weekly/29/c/c.go:74
↓ 1 callers
Method
Pop
()
misc/acwing/weekly/2/c/c.go:19
↓ 1 callers
Method
Pop
()
misc/nowcoder/6629/c/c.go:12
↓ 1 callers
Method
Pop
()
misc/nowcoder/9887/c/c.go:32
↓ 1 callers
Method
Pop
()
misc/atcoder/abc170/f/f.go:18
↓ 1 callers
Method
Pop
()
leetcode/biweekly/57/b/b.go:46
↓ 1 callers
Method
Pop
()
leetcode/biweekly/22/d/d.go:16
↓ 1 callers
Method
Pop
()
leetcode/biweekly/64/b/b.go:30
↓ 1 callers
Method
Pop
()
leetcode/biweekly/7/c/c.go:12
↓ 1 callers
Method
Pop
()
leetcode/biweekly/51/b/b.go:12
↓ 1 callers
Method
Pop
()
leetcode/biweekly/9/d/d.go:12
↓ 1 callers
Method
Pop
()
leetcode/weekly/221/b/b.go:13
↓ 1 callers
Method
Pop
()
leetcode/weekly/180/d_pq.go:11
↓ 1 callers
Method
Pop
()
leetcode/weekly/266/d/d.go:59
↓ 1 callers
Method
Pop
()
leetcode/weekly/243/c/c.go:13
↓ 1 callers
Method
Pop
()
leetcode/weekly/197/c/c.go:21
↓ 1 callers
Method
Pop
()
leetcode/weekly/231/c/c.go:13
↓ 1 callers
Method
Pop
()
leetcode/weekly/237/c/c.go:16
↓ 1 callers
Method
Pop
()
leetcode/weekly/187/d/d.go:15
↓ 1 callers
Method
PopFront
()
copypasta/deque.go:27
↓ 1 callers
Method
Push
(v interface{})
main/500-599/567E.go:20
↓ 1 callers
Method
Push
(v interface{})
main/500-599/507E.go:21
↓ 1 callers
Method
Push
(v interface{})
main/1300-1399/1398E.go:137
↓ 1 callers
Method
Push
(v interface{})
main/1300-1399/1353D.go:16
↓ 1 callers
Method
Push
(v interface{})
main/1200-1299/1283F.go:14
↓ 1 callers
Method
Push
(v interface{})
main/1200-1299/1239C.go:14
↓ 1 callers
Method
Push
(v interface{})
main/1200-1299/1251E2.go:14
↓ 1 callers
Method
Push
(v interface{})
main/700-799/713C.go:14
↓ 1 callers
Method
Push
(v interface{})
main/700-799/786B.go:20
← previous
next →
701–800 of 8,098, ranked by callers