MCPcopy Index your code

hub / github.com/EndlessCheng/codeforces-go / types & classes

Types & classes911 in github.com/EndlessCheng/codeforces-go

↓ 14 callersStructmove
github.com/EndlessCheng/codeforces-go
leetcode/biweekly/64/d/d.go:4
↓ 9 callersStructquery
main/1-99/86D.go:23
↓ 8 callersStructio
copypasta/template/interactive_problem/main.go:23
↓ 6 callersStructp
leetcode/weekly/150/c/c.go:5
↓ 6 callersStructquery
main/edu/2/segmenttree2/step4/f/main.go:103
↓ 5 callersStructquery
离线,将查询分组
leetcode/weekly/250/d/d.go:64
↓ 3 callersStructfact
main/1100-1199/1187C.go:16
↓ 3 callersStructquery
main/300-399/301D.go:32
↓ 3 callersStructquery
misc/luogu/p1494.go:31
↓ 3 callersStructquery
misc/nowcoder/6913/c/c.go:37
↓ 3 callersTypeAliasspKeyType
* 伸展树 splay https://oi-wiki.org/ds/splay/ https://www.cnblogs.com/cjyyb/p/7499020.html 普通平衡树 https://www.luogu.com.cn/problem/P3369 https://www.luogu.
copypasta/splay.go:21
↓ 2 callersTypeAliasbyA
main/600-699/650C_test.go:43
↓ 2 callersStructmodify
main/900-999/940F.go:30
↓ 2 callersStructquery
main/600-699/617E.go:25
↓ 2 callersStructquery
copypasta/mo.go:37
↓ 2 callersTypeAliastpKeyType
* 树堆 treap=tree+heap 本质上属于笛卡尔树,见 cartesian_tree.go https://oi-wiki.org/ds/treap/ https://en.wikipedia.org/wiki/Treap 部分代码参考刘汝佳实现,见 https://github.com
copypasta/treap.go:27
↓ 2 callersTypeAliastpValueType
copypasta/treap.go:28
↓ 1 callersTypeAliashp
github.com/EndlessCheng/codeforces-go
leetcode/weekly/232/c/c.go:6
↓ 1 callersTypeAliasodt
copypasta/odt.go:15
↓ 1 callersStructquery
main/200-299/246E.go:53
↓ 1 callersStructquery
dis(q.v,q.w)
copypasta/graph_tree.go:923
TypeAliasBank
Go 模拟 github.com/EndlessCheng/codeforces-go
leetcode/weekly/263/b/b.go:6
TypeAliasBitset
(n+_w-1)/_w
misc/acwing/weekly/31/c/c.go:14
TypeAliasBitset
(n+_w-1)/_w
copypasta/bits.go:169
StructBrowserHistory
leetcode/weekly/192/c/c.go:3
StructCashier
github.com/EndlessCheng/codeforces-go
leetcode/biweekly/20/b/b.go:4
StructCombinationIterator
github.com/EndlessCheng/codeforces-go
leetcode/biweekly/15/c/c.go:4
StructCustomStack
注:本题也可以 O(1) 做,维护元素的 lazy 标记, Increment 时 s[k-1].lazy += val Pop 时结算,并传递给下一个
leetcode/weekly/180/b/b.go:7
StructDeque
双端队列 用两个 slice 头对头拼在一起实现 另一种实现是 make 个两倍大小的 slice,然后用两个下标 s t 模拟 应用见 graph.go 中的 01 最短路 l-1,...1,0,0,1...,r-1
copypasta/deque.go:9
StructDetectSquares
github.com/EndlessCheng/codeforces-go
leetcode/weekly/259/c/c.go:4
StructDinnerPlates
leetcode/weekly/151/d/d.go:18
StructDirEdge
leetcode/testutil/predefined_type.go:145
StructEdge
leetcode/testutil/predefined_type.go:183
StructFancy
leetcode/biweekly/37/d/d.go:79
StructFileSystem
github.com/EndlessCheng/codeforces-go
leetcode/biweekly/7/b/b.go:6
StructFindElements
leetcode/weekly/163/main.go:62
StructFindElements
** * Definition for a binary tree node. * type TreeNode struct { * Val int * Left *TreeNode * Right *TreeNode * } */
leetcode/weekly/163/b/b.go:13
StructFindSumPairs
github.com/EndlessCheng/codeforces-go
leetcode/weekly/241/c/c.go:4
StructFreqStack
github.com/EndlessCheng/codeforces-go
leetcode/weekly/99/d/d.go:4
StructFrontMiddleBackQueue
github.com/EndlessCheng/codeforces-go
leetcode/biweekly/40/c/c.go:4
StructInt
https://codeforces.com/problemset/problem/1244/C 以 s 结尾的方法,s 代表 self
copypasta/big.go:8
StructInterval
leetcode/testutil/predefined_type_nowcoder.go:37
StructLRUCache
leetcode/main.go:782
StructLeaderboard
github.com/EndlessCheng/codeforces-go
leetcode/biweekly/12/a/a.go:6
StructListNode
leetcode/testutil/predefined_type.go:215
StructMKAverage
github.com/EndlessCheng/codeforces-go
leetcode/weekly/236/d/d.go:6
StructMovieRentingSystem
github.com/EndlessCheng/codeforces-go
leetcode/biweekly/55/d/d.go:8
StructMyCalendar
github.com/EndlessCheng/codeforces-go
leetcode/weekly/59/b/b.go:6
StructNode
https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii/
leetcode/testutil/predefined_type.go:318
StructOrderedStream
github.com/EndlessCheng/codeforces-go
leetcode/weekly/215/a/a.go:4
FuncTypeOutputChecker
func(string) bool
main/testutil/testutil.go:241
StructParkingSystem
github.com/EndlessCheng/codeforces-go
leetcode/biweekly/36/a/a.go:4
StructPoint
leetcode/testutil/predefined_type_nowcoder.go:9
StructProductOfNumbers
leetcode/weekly/176/b/b.go:3
StructRG
main/testutil/rand.go:26
StructRLEIterator
leetcode/weekly/101/a/a.go:3
StructRangeFreqQuery
统计位置 + 二分位置 github.com/EndlessCheng/codeforces-go
leetcode/weekly/268/c/c.go:8
StructRobot
github.com/EndlessCheng/codeforces-go
leetcode/biweekly/65/b/b.go:4
StructSORTracker
leetcode/biweekly/67/d/d.go:32
TypeAliasST91
github.com/EndlessCheng/codeforces-go
main/800-899/891A.go:12
StructSea
leetcode/biweekly/14/d/d.go:5
StructSeatManager
leetcode/biweekly/51/b/b.go:14
StructStockPrice
github.com/EndlessCheng/codeforces-go
leetcode/weekly/262/c/c.go:6
StructStockSpanner
leetcode/weekly/101/b/b.go:4
StructStreamChecker
leetcode/weekly/133/d/d.go:8
StructSubrectangleQueries
github.com/EndlessCheng/codeforces-go
leetcode/biweekly/28/b/b.go:4
StructThroneInheritance
github.com/EndlessCheng/codeforces-go
leetcode/weekly/208/c/c.go:4
StructTimeMap
leetcode/weekly/121/b/b.go:9
StructTreeAncestor
leetcode/weekly/193/d/d.go:3
StructTreeNode
leetcode/testutil/predefined_type.go:9
StructTreeNode
leetcode/weekly/163/main.go:57
StructTreeNode
leetcode/weekly/150/b/b.go:3
StructTreeNode
leetcode/weekly/140/c/c.go:3
StructTweetCounts
leetcode/weekly/175/c/c.go:88
StructUndergroundSystem
leetcode/weekly/182/c/c.go:3
StructWordFilter
leetcode/weekly/62/d/d.go:9
Structanswer
github.com/EndlessCheng/codeforces-go
copypasta/template/interactive_problem/main.go:14
Structant
蚂蚁
misc/luogu/p2586.go:58
Structblock
misc/luogu/contest/31672/d/d.go:89
Structblock
copypasta/sqrt_decomposition.go:67
Structbst
copypasta/bst.go:55
StructbstNode
二叉树常用函数
copypasta/bst.go:10
Structcar
main/1300-1399/1359F.go:32
Structcard
main/800-899/808F.go:16
Structcell
main/600-699/650C_test.go:37
Structcircle
* 圆 */
copypasta/geometry.go:458
StructcircleF
copypasta/geometry.go:1096
StructcontestInfo
copypasta/template/leetcode/generator.go:165
StructctNode
* 笛卡尔树 Cartesian tree https://en.wikipedia.org/wiki/Cartesian_tree https://oi-wiki.org/ds/cartesian-tree/ todo 一些题目 https://www.luogu.com.cn/blog/AAAb
copypasta/cartesian_tree.go:12
StructdPair173
main/100-199/173B.go:9
Structdata
github.com/EndlessCheng/codeforces-go
main/edu/2/segmenttree2/step4/d/main.go:12
Structdata
另一种做法是通过交换空列到第 n 列,以及交换一个含有 1 的行到第 n 行,从而归纳到 n-1 方阵的情况 github.com/EndlessCheng/codeforces-go
main/200-299/266C.go:14
Structdata72
github.com/EndlessCheng/codeforces-go
main/300-399/372C.go:10
Structdata80
github.com/EndlessCheng/codeforces-go
main/300-399/380C.go:10
Structdata84
main/400-499/484E.go:16
Structdata87
github.com/EndlessCheng/codeforces-go
main/400-499/487B.go:10
Structdeque173
main/100-199/173B.go:10
Structdeque21
github.com/EndlessCheng/codeforces-go
main/800-899/821D.go:10
Structdeque42
github.com/EndlessCheng/codeforces-go
main/1400-1499/1442C.go:10
Structdeque63
main/1000-1099/1063B.go:11
next →1–100 of 911, ranked by callers