09 2023 档案

摘要:视频链接:224 线段树+二分 [HEOI2016TJOI2016] 排序_哔哩哔哩_bilibili Luogu P2824 [HEOI2016/TJOI2016] 排序 // 线段树+二分 nlognlogn #include <iostream> #include <cstring> #inc 阅读全文
posted @ 2023-09-25 15:50 董晓 阅读(453) 评论(0) 推荐(2)
摘要:视频链接:223 线段树+二分 [SHOI2015] 脑洞治疗仪_哔哩哔哩_bilibili Luogu P4344 [SHOI2015] 脑洞治疗仪 #include <iostream> #include <cstring> #include <algorithm> using namespac 阅读全文
posted @ 2023-09-25 15:47 董晓 阅读(513) 评论(0) 推荐(1)
摘要:视频链接:222 线段树 [SCOI2010] 序列操作_哔哩哔哩_bilibili Luogu P2572 [SCOI2010] 序列操作 #include <iostream> #include <cstring> #include <algorithm> using namespace std 阅读全文
posted @ 2023-09-24 21:41 董晓 阅读(555) 评论(0) 推荐(4)
摘要:视频链接:C35 线段树+排序 P1972 [SDOI2009] HH的项链_哔哩哔哩_bilibili Luogu P1972 [SDOI2009] HH的项链 // 线段树+排序 #include <iostream> #include <cstring> #include <algorithm 阅读全文
posted @ 2023-09-24 10:28 董晓 阅读(436) 评论(0) 推荐(2)
摘要:视频链接:220 线段树+双指针 [NOI2016] 区间_哔哩哔哩_bilibili Luogu P1712 [NOI2016] 区间 // 线段树+双指针+离散化 #include <cstdio> #include <iostream> #include <algorithm> using n 阅读全文
posted @ 2023-09-20 16:57 董晓 阅读(493) 评论(0) 推荐(1)
摘要:视频链接:219 线段树+贪心 [USACO] Barn Allocation G_哔哩哔哩_bilibili Luogu P1937 [USACO10MAR] Barn Allocation G // 贪心+线段树 O(nlogn) #include <iostream> #include <cs 阅读全文
posted @ 2023-09-18 19:50 董晓 阅读(333) 评论(0) 推荐(1)
摘要:视频链接:218 线段树+贪心 [USACO] Fair Shuttle G_哔哩哔哩_bilibili Luogu P1607 [USACO09FEB] Fair Shuttle G // 贪心+线段树 O(nlogn) #include<iostream> #include<cstdio> #i 阅读全文
posted @ 2023-09-18 19:43 董晓 阅读(578) 评论(0) 推荐(2)
摘要:视频链接:A40 反悔贪心 P2949 [USACO] Work Scheduling G_哔哩哔哩_bilibili Luogu P2949 [USACO09OPEN] Work Scheduling G #include<queue> #include<cstdio> #include<iost 阅读全文
posted @ 2023-09-16 16:44 董晓 阅读(1216) 评论(1) 推荐(0)
摘要:视频链接:A39 反悔贪心 CF865D Buy Low Sell High_哔哩哔哩_bilibili CF865D Buy Low Sell High #include <iostream> #include <cstring> #include <algorithm> #include <qu 阅读全文
posted @ 2023-09-16 16:43 董晓 阅读(886) 评论(0) 推荐(0)
摘要:视频链接:A38 贪心算法 P4090 [USACO] Greedy Gift Takers_哔哩哔哩_bilibili Luogu P4090 [USACO17DEC] Greedy Gift Takers P Luogu U77570 「USACO 2017.12 Platinum」 Greed 阅读全文
posted @ 2023-09-15 16:00 董晓 阅读(630) 评论(0) 推荐(0)
摘要:视频链接:A37 贪心算法 P1094 [NOIP2007 普及组] 纪念品分组_哔哩哔哩_bilibili Luogu P1094 [NOIP2007 普及组] 纪念品分组 // 贪心+排序+双指针 O(nlogn) #include<bits/stdc++.h> using namespace 阅读全文
posted @ 2023-09-13 07:26 董晓 阅读(427) 评论(0) 推荐(0)
摘要:A36 贪心算法 P5020 [NOIP2018 提高组] 货币系统_哔哩哔哩_bilibili P5020 [NOIP 2018 提高组] 货币系统 - 洛谷 #include<cstring> #include<iostream> #include<algorithm> using namesp 阅读全文
posted @ 2023-09-11 08:00 董晓 阅读(542) 评论(0) 推荐(0)
摘要:视频链接:A35 贪心算法 P1969 [NOIP2013 提高组] 积木大赛_哔哩哔哩_bilibili Luogu P1969 [NOIP2013 提高组] 积木大赛 Luogu P5019 [NOIP2018 提高组] 铺设道路 #include <iostream> #include <cs 阅读全文
posted @ 2023-09-11 07:53 董晓 阅读(473) 评论(0) 推荐(0)
摘要:视频链接:A34 贪心算法 P4447 [AHOI2018初中组] 分组_哔哩哔哩_bilibili Luogu P4447 [AHOI2018初中组] 分组 #include <iostream> #include <cstring> #include <algorithm> using name 阅读全文
posted @ 2023-09-11 07:39 董晓 阅读(552) 评论(0) 推荐(0)
摘要:视频链接:A33 贪心算法 P4053 [JSOI2007] 建筑抢修_哔哩哔哩_bilibili Luogu P4053 [JSOI2007] 建筑抢修 #include <iostream> #include <cstring> #include <algorithm> #include <qu 阅读全文
posted @ 2023-09-09 16:58 董晓 阅读(525) 评论(0) 推荐(0)
摘要:视频链接:A32 贪心算法 P1080 [NOIP2012 提高组] 国王游戏_哔哩哔哩_bilibili 时间复杂度:排序 1000log1000,枚举 1000*4000 Luogu P1080 [NOIP2012 提高组] 国王游戏 #include <cstdio> #include <cs 阅读全文
posted @ 2023-09-09 10:33 董晓 阅读(700) 评论(1) 推荐(1)
摘要:视频链接:A31 贪心算法 P2512 [HAOI2008] 糖果传递_哔哩哔哩_bilibili Luogu P2512 [HAOI2008] 糖果传递 #include <iostream> #include <cstring> #include <algorithm> using namesp 阅读全文
posted @ 2023-09-03 19:58 董晓 阅读(644) 评论(2) 推荐(0)
摘要:视频链接:A30 贪心算法 P1031 [NOIP2002 提高组] 均分纸牌_哔哩哔哩_bilibili Luogu P1031 [NOIP2002 提高组] 均分纸牌 #include <iostream> #include <cstring> #include <algorithm> usin 阅读全文
posted @ 2023-09-03 19:53 董晓 阅读(514) 评论(0) 推荐(0)
摘要:视频链接:A29 贪心算法 P1803 线段覆盖_哔哩哔哩_bilibili Luogu P1803 凌乱的yyy / 线段覆盖 #include <iostream> #include <cstring> #include <algorithm> using namespace std; stru 阅读全文
posted @ 2023-09-03 19:50 董晓 阅读(495) 评论(0) 推荐(0)
摘要:视频链接:A28 贪心算法 P1843 奶牛晒衣服_哔哩哔哩_bilibili Luogu P1843 奶牛晒衣服 #include <iostream> #include <cstring> #include <algorithm> #include <queue> using namespace 阅读全文
posted @ 2023-09-02 11:09 董晓 阅读(511) 评论(0) 推荐(1)
摘要:视频链接:A27 贪心算法 P1209 [USACO1.3] 修理牛棚_哔哩哔哩_bilibili Luogu P1209 [USACO1.3] 修理牛棚 Barn Repair #include <iostream> #include <cstring> #include <algorithm> 阅读全文
posted @ 2023-09-01 11:01 董晓 阅读(569) 评论(0) 推荐(0)