上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 45 下一页
摘要: 视频链接:219 线段树+贪心 [USACO] Barn Allocation G_哔哩哔哩_bilibili Luogu P1937 [USACO10MAR] Barn Allocation G // 贪心+线段树 O(nlogn) #include <iostream> #include <cs 阅读全文
posted @ 2023-09-18 19:50 董晓 阅读(207) 评论(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 董晓 阅读(375) 评论(0) 推荐(2) 编辑
摘要: 视频链接:90 反悔贪心 [USACO] Work Scheduling G_哔哩哔哩_bilibili Luogu P2949 [USACO09OPEN] Work Scheduling G #include<queue> #include<cstdio> #include<iostream> # 阅读全文
posted @ 2023-09-16 16:44 董晓 阅读(669) 评论(1) 推荐(0) 编辑
摘要: 视频链接:89 反悔贪心 CF865D Buy Low Sell High_哔哩哔哩_bilibili CF865D Buy Low Sell High #include <iostream> #include <cstring> #include <algorithm> #include <que 阅读全文
posted @ 2023-09-16 16:43 董晓 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 视频链接:88 贪心算法 [USACO] Greedy Gift Takers_哔哩哔哩_bilibili Luogu P4090 [USACO17DEC] Greedy Gift Takers P Luogu U77570 「USACO 2017.12 Platinum」 Greedy Gift 阅读全文
posted @ 2023-09-15 16:00 董晓 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 视频链接:87 贪心算法 [NOIP2007 普及组] 纪念品分组_哔哩哔哩_bilibili Luogu P1094 [NOIP2007 普及组] 纪念品分组 // 贪心+排序+双指针 O(nlogn) #include<bits/stdc++.h> using namespace std; in 阅读全文
posted @ 2023-09-13 07:26 董晓 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 视频链接:86 贪心算法 [NOIP2018 提高组] 货币系统_哔哩哔哩_bilibili Luogu P5020 [NOIP2018 提高组] 货币系统 #include<cstring> #include<iostream> #include<algorithm> using namespac 阅读全文
posted @ 2023-09-11 08:00 董晓 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 视频链接:85 贪心算法 [NOIP2013 提高组] 积木大赛_哔哩哔哩_bilibili Luogu P1969 [NOIP2013 提高组] 积木大赛 Luogu P5019 [NOIP2018 提高组] 铺设道路 #include <iostream> #include <cstring> 阅读全文
posted @ 2023-09-11 07:53 董晓 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 视频链接:84 贪心算法 [AHOI2018初中组] 分组_哔哩哔哩_bilibili Luogu P4447 [AHOI2018初中组] 分组 #include <iostream> #include <cstring> #include <algorithm> using namespace s 阅读全文
posted @ 2023-09-11 07:39 董晓 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 视频链接:83 贪心算法 [JSOI2007] 建筑抢修_哔哩哔哩_bilibili Luogu P4053 [JSOI2007] 建筑抢修 #include <iostream> #include <cstring> #include <algorithm> #include <queue> us 阅读全文
posted @ 2023-09-09 16:58 董晓 阅读(296) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 45 下一页