Skip to content

Commit

Permalink
add links
Browse files Browse the repository at this point in the history
  • Loading branch information
EndlessCheng committed Oct 19, 2022
1 parent 76939db commit 7f00210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions copypasta/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ https://codeforces.com/problemset/problem/863/E
等效性 https://leetcode-cn.com/contest/biweekly-contest-8/problems/maximum-number-of-ones/
https://leetcode-cn.com/contest/biweekly-contest-31/problems/minimum-number-of-increments-on-subarrays-to-form-a-target-array/
贡献 http://codeforces.com/problemset/problem/912/D
贡献 https://codeforces.com/problemset/problem/1208/E
*/

/* 逆向思维 / 正难则反:从终点出发 / 小学奥数告诉我们,不可行方案永远比可行方案好求
Expand Down
1 change: 1 addition & 0 deletions copypasta/monotone_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func (mq MonotoneQueue) Top() int {
// https://www.luogu.com.cn/problem/P1886 http://poj.org/problem?id=2823
// https://codeforces.com/problemset/problem/940/E
// https://codeforces.com/problemset/problem/372/C(另一种做法是用堆)
// 贡献+差分数组 https://codeforces.com/problemset/problem/1208/E
func FixedSizeMax(a []int, fixedSize int) []int {
n := len(a)
q := MonotoneQueue{} // 最大/最小由 less 来控制
Expand Down

0 comments on commit 7f00210

Please sign in to comment.