二分
二分
QAQ!
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[Codeforces Round #653 (div3)]1374
文章目录A - Required Remainder [思维]B - Multiply by 2, divide by 6 [思维]C - Move Brackets [思维]D - Zero Remainder Array [思维]E1 - Reading Books (easy version) [思维]E2 - Reading Books (hard version) [思维]F - Cyclic Shifts Sorting [思维]A - Required Remainder [思维]..原创 2020-07-04 01:43:59 · 314 阅读 · 0 评论 -
[Educational Codeforces Round 87 (div2)]1354D - Multiset[二分][树状数组]
1354D - Multiset[二分]题意给一个长度为 nnn 的不降序数组,有 mmm 个操作如果 ki<0k_i < 0ki<0,删除第 kik_iki 个数,保证不会超过当前数组的长度如果 ki>0k_i > 0ki>0,插入 kik_iki,这里还会保持不降序数组如果最后数组中还有数,输出数组中其中一个做法二分结果的值如果删除的序号比 ≤x\leq x≤x 的数还大,那么对 xxx 最后保留在数组中是没有影响的所以只需要记录 ..原创 2020-05-29 19:42:04 · 222 阅读 · 0 评论 -
[Codeforces Round #635 (div2)]1337D - Xenia and Colorful Gems[二分][枚举]
1337C - Linova and Kingdom[dfsdfsdfs][贪心]time limit per testmemory limit per testinputoutput3 seconds256 megabytesstandard inputstandard outputDescription: Xenia is a girl being b...原创 2020-04-21 12:38:07 · 401 阅读 · 0 评论 -
[Codeforces Round #627]1324D - Pair of Topics[二分]
1324D - Pair of Topics[二分]time limit per testmemory limit per testinputoutput2 seconds256 megabytesstandard inputstandard outputDescription: The next lecture in a high school requ...原创 2020-03-14 00:50:29 · 274 阅读 · 0 评论 -
历届试题-区间移位[蓝桥杯][二分+贪心]
发现环[dfs]time limit per testmemory limit per testinputoutput1 seconds256 megabytesstandard inputstandard outputDescription: 小明的实验室有N台电脑,编号1~N。原本这N台电脑之间有N-1条数据链接相连,恰好构成一个树形网络。在树形网络上...原创 2020-03-04 01:38:00 · 417 阅读 · 0 评论
分享