MCPcopy Create free account

hub / github.com/EndlessCheng/codeforces-go / functions

Functions8,098 in github.com/EndlessCheng/codeforces-go

MethodF1
(a, b int)
leetcode/testutil/leetcode_test.go:103
MethodF2
(a, b int)
leetcode/testutil/leetcode_test.go:108
MethodFind
(target int)
leetcode/weekly/163/main.go:78
MethodFind
(target int)
leetcode/weekly/163/b/b.go:31
MethodFlip
get
copypasta/bits.go:172
MethodFloatSlice
FloatSlice generates a random float slice with a fixed size and its values in range [min, max]
main/testutil/rand.go:164
MethodForeach
遍历所有 1 的位置 如果对范围有要求,可在 f 中 return p < n
copypasta/bits.go:241
MethodForward
(steps int)
leetcode/weekly/192/c/c.go:30
MethodFront
()
copypasta/deque.go:45
FunctionGameresults
github.com/EndlessCheng/codeforces-go
misc/nowcoder/9753/b/b.go:4
FunctionGenLeetCodeSeasonTests
获取力扣杯题目信息 slug 如 "2020-fall", "2021-spring"
copypasta/template/leetcode/generator.go:638
FunctionGenLeetCodeSpecialTests
(username, password string, urlsZHs []string, openWebPage bool, contestDir, customComment string)
copypasta/template/leetcode/generator.go:667
MethodGet
(key int)
leetcode/main.go:792
MethodGet
()
leetcode/biweekly/67/d/d.go:51
MethodGet
(path string)
leetcode/biweekly/7/b/b.go:38
MethodGetAverageTime
(startStation string, endStation string)
leetcode/weekly/182/c/c.go:37
MethodGetBill
(product, amount []int)
leetcode/biweekly/20/b/b.go:19
MethodGetDir
()
leetcode/biweekly/65/b/b.go:32
MethodGetIndex
(idx int)
leetcode/biweekly/37/d/d.go:105
MethodGetInheritanceOrder
()
leetcode/weekly/208/c/c.go:25
MethodGetKthAncestor
(v int, k int)
leetcode/weekly/193/d/d.go:26
FunctionGetNumberOfSchemes
github.com/EndlessCheng/codeforces-go
misc/nowcoder/6913/b/b.go:4
FunctionGetParents
(root *TreeNode)
leetcode/testutil/predefined_type.go:87
MethodGetPos
()
leetcode/biweekly/65/b/b.go:31
MethodGetProduct
(k int)
leetcode/weekly/176/b/b.go:20
MethodGetTweetCountsPerFrequency
(freq string, tweetName string, startTime int, endTime int)
leetcode/weekly/175/c/c.go:105
MethodGetValue
(row, col int)
leetcode/biweekly/28/b/b.go:21
MethodGraphHackSPFA
GraphHackSPFA generates a undirected grid graph with n nodes, st-index, without self-loops and multiple edges, edge weights in range [minWeight, maxWe
main/testutil/rand.go:392
MethodGraphWeightedEdges
TreeEdges generates a graph with n nodes, m edges, st-index, without self-loops and multiple edges, edge weights in range [minWeight, maxWeight] TIPS:
main/testutil/rand.go:355
MethodHasNext
()
leetcode/biweekly/15/c/c.go:57
MethodHasSubset
(c Bitset)
copypasta/bits.go:299
MethodIncrement
(k int, val int)
leetcode/weekly/180/b/b.go:31
MethodIndex0
返回第一个 0 的下标,不存在时会返回一个不小于 n 的位置
copypasta/bits.go:253
MethodIndex1
返回第一个 1 的下标,不存在时会返回一个不小于 n 的位置(同 C++ 中的 _Find_first)
copypasta/bits.go:263
MethodInsert
(id int, value string)
leetcode/weekly/215/a/a.go:17
MethodLen
()
main/500-599/567E.go:17
MethodLen
()
main/500-599/507E.go:18
MethodLen
()
main/1300-1399/1353D.go:13
MethodLen
()
main/700-799/725D.go:13
MethodLen
()
main/700-799/786B.go:17
MethodLen
()
main/700-799/721D.go:16
MethodLen
()
main/700-799/715B.go:17
MethodLen
()
main/100-199/140C.go:16
MethodLen
()
main/1100-1199/1196F.go:17
MethodLen
()
main/1400-1499/1486E.go:14
MethodLen
()
main/1400-1499/1473E.go:17
MethodLen
()
main/1400-1499/1493D_heap.go:16
MethodLen
()
main/200-299/266C.go:20
MethodLen
GCJ Golang 版本过低没有 sort.Slice
misc/gcj/2020/1c/b/b.go:15
MethodLen
()
misc/acwing/weekly/29/c/c.go:70
MethodLen
()
misc/acwing/weekly/2/c/c.go:15
MethodLen
()
misc/acwing/weekly/24/c/c.go:60
MethodLen
()
misc/nowcoder/9887/c/c.go:28
MethodLen
()
misc/atcoder/abc139/f/f.go:19
MethodLen
()
misc/atcoder/abc170/f/f.go:14
MethodLen
()
misc/atcoder/abc170/e/e.go:17
MethodLen
()
misc/atcoder/abc170/e/e.go:33
MethodLen
()
misc/atcoder/arc076/c/c.go:14
MethodLen
自定义类型
copypasta/heap.go:53
MethodLen
()
copypasta/graph.go:967
MethodLen
()
leetcode/weekly/266/d/d.go:55
MethodLen
()
leetcode/weekly/232/c/c.go:8
MethodLen
()
leetcode/weekly/243/c/c.go:9
MethodLen
()
leetcode/weekly/231/c/c.go:9
MethodLen
()
leetcode/weekly/233/b/b.go:16
MethodLen
()
leetcode/weekly/187/d/d.go:11
FunctionLength
github.com/EndlessCheng/codeforces-go
misc/nowcoder/6629/c/c.go:17
MethodLess
(i, j int)
main/500-599/567E.go:18
MethodLess
(i, j int)
main/500-599/507E.go:19
MethodLess
(i, j int)
main/1300-1399/1398E.go:135
MethodLess
(i, j int)
main/1300-1399/1353D.go:14
MethodLess
(i, j int)
main/700-799/725D.go:14
MethodLess
(i, j int)
main/700-799/713C.go:13
MethodLess
(i, j int)
main/700-799/786B.go:18
MethodLess
(i, j int)
main/700-799/721D.go:17
MethodLess
(i, j int)
main/700-799/706C.go:17
MethodLess
(i, j int)
main/700-799/715B.go:18
MethodLess
(i, j int)
main/900-999/965E.go:14
MethodLess
(i, j int)
main/100-199/144D.go:14
MethodLess
(i, j int)
main/100-199/140C.go:17
MethodLess
(i, j int)
main/1100-1199/1183G.go:13
MethodLess
(i, j int)
main/1100-1199/1196F.go:18
MethodLess
(i, j int)
main/1100-1199/1106E.go:19
MethodLess
(i, j int)
main/400-499/449B.go:19
MethodLess
(i, j int)
main/400-499/416C.go:13
MethodLess
(i, j int)
main/1400-1499/1422D.go:16
MethodLess
(i, j int)
main/1400-1499/1486E.go:15
MethodLess
(i, j int)
main/1400-1499/1473E.go:18
MethodLess
(i, j int)
main/1400-1499/1493D_heap.go:17
MethodLess
(i, j int)
main/800-899/884D.go:14
MethodLess
(i, j int)
main/800-899/825E.go:14
MethodLess
(i, j int)
main/600-699/650C_test.go:47
MethodLess
(i, j int)
main/200-299/266C.go:21
MethodLess
(i, j int)
main/1000-1099/1076D.go:18
MethodLess
(i, j int)
main/1-99/13C.go:13
MethodLess
(i, j int)
main/1-99/20C.go:17
MethodLess
(i, j int)
misc/luogu/p1792.go:16
MethodLess
(i, j int)
misc/gcj/2020/1c/b/b.go:16
MethodLess
(i, j int)
misc/acwing/weekly/29/c/c.go:71
MethodLess
(i, j int)
misc/acwing/weekly/20/b/b.go:46
← previousnext →3,301–3,400 of 8,098, ranked by callers