惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Jina AI
Jina AI
MyScale Blog
MyScale Blog
量子位
月光博客
月光博客
J
Java Code Geeks
A
About on SuperTechFans
H
Hackread – Cybersecurity News, Data Breaches, AI and More
U
Unit 42
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
腾讯CDC
G
Google Developers Blog
博客园 - 【当耐特】
Engineering at Meta
Engineering at Meta
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
IT之家
IT之家
N
Netflix TechBlog - Medium
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
B
Blog
Martin Fowler
Martin Fowler
P
Proofpoint News Feed
B
Blog RSS Feed

某岛

AtCoder Beginner Contest 409 Luogu P5325. 【模板】Min_25 筛 UOJ #188. 【UR #13】Sanrd AtCoder Beginner Contest 371 AtCoder Beginner Contest 369 RPGMaker 2k3 百科 OneShot 的考古 2024“开创拓芯”游戏创享节的相关记录 CJ 回来后的戒断反应 Luogu P10221. [省选联考 2024] 重塑时光 Luogu P5308 [COCI2018-2019#4] Akvizna 歌唱王国 Lean 相关 BZOJ 3153. Sone1 The 2023 ICPC World Finals Luxor 新巴别塔 Sora 的想象与思考 Facebook Hacker Cup 2023 Round 1 AtCoder Beginner Contest 322 LLaMA 2 相关 HuggingFace AI Game Jam ACL 2023 Trans 相关… Luogu P2053. [SCOI2007] 修车 Luogu P1973. [NOI2011] NOI 嘉年华 Luogu P1933. [NOI2010] 旅行路线 Luogu P1954. [NOI2010] 航空管制 Luogu P2048. [NOI2010] 超级钢琴 Luogu P2046. [NOI2010] 海拔 Luogu P3227. [HNOI2013] 切糕
wqs 二分
2024-06-12 · via 某岛

June 12, 2024

https://oj.uz/problem/view/NOI19_feast

经典题,首先这个题有一个众所周知的神奇做法,既贪心 k 次,每次求出最优子序列,然后取反。
这个做法首先当然再 k 很大的时候有点力不从心,只能拿 59 分,而且如果要求每次必选,好像正确性也变得堪忧了。
https://oj.uz/submission/997020

当然此题的 wqs 二分非常好写,可以作为例题。
https://oj.uz/submission/997059

https://codeforces.com/contest/1279/problem/F

和例题几乎一样。

https://www.luogu.com.cn/problem/P3606

也可以从导数的角度考虑,类似 [NOI2012] 骑行川藏,最优状态时每段的导数必然相等,因此直接二分这个导数即可。这题貌似也是。 https://loj.ac/p/3132

Luogu P5896. [IOI2016] aliens

https://www.luogu.com.cn/problem/P5896

Luogu P6246. [IOI2000] 邮局 加强版 加强版

https://www.luogu.com.cn/problem/P4767
https://www.luogu.com.cn/problem/P6246

树相关

Posted by xiaodao
Category: 日常