上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 45 下一页
摘要: 视频链接:220 线段树+双指针 [NOI2016] 区间_哔哩哔哩_bilibili Luogu P1712 [NOI2016] 区间 // 线段树+双指针+离散化 #include <cstdio> #include <iostream> #include <algorithm> using n 阅读全文
posted @ 2023-09-20 16:57 董晓 阅读(438) 评论(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 董晓 阅读(299) 评论(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 董晓 阅读(525) 评论(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 董晓 阅读(1052) 评论(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 董晓 阅读(762) 评论(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 董晓 阅读(556) 评论(0) 推荐(0)
摘要: 视频链接:A37 贪心算法 P1094 [NOIP2007 普及组] 纪念品分组_哔哩哔哩_bilibili Luogu P1094 [NOIP2007 普及组] 纪念品分组 // 贪心+排序+双指针 O(nlogn) #include<bits/stdc++.h> using namespace 阅读全文
posted @ 2023-09-13 07:26 董晓 阅读(374) 评论(0) 推荐(0)
摘要: A36 贪心算法 P5020 [NOIP2018 提高组] 货币系统_哔哩哔哩_bilibili P5020 [NOIP 2018 提高组] 货币系统 - 洛谷 #include<cstring> #include<iostream> #include<algorithm> using namesp 阅读全文
posted @ 2023-09-11 08:00 董晓 阅读(480) 评论(0) 推荐(0)
摘要: 视频链接:A35 贪心算法 P1969 [NOIP2013 提高组] 积木大赛_哔哩哔哩_bilibili Luogu P1969 [NOIP2013 提高组] 积木大赛 Luogu P5019 [NOIP2018 提高组] 铺设道路 #include <iostream> #include <cs 阅读全文
posted @ 2023-09-11 07:53 董晓 阅读(412) 评论(0) 推荐(0)
摘要: 视频链接:A34 贪心算法 P4447 [AHOI2018初中组] 分组_哔哩哔哩_bilibili Luogu P4447 [AHOI2018初中组] 分组 #include <iostream> #include <cstring> #include <algorithm> using name 阅读全文
posted @ 2023-09-11 07:39 董晓 阅读(489) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 45 下一页