摘要: 视频链接:238 左偏树 数字序列_哔哩哔哩_bilibili Luogu P4331 [BalticOI 2004] Sequence 数字序列 Luogu P4331 [BalticOI 2004] Sequence 数字序列 #include <iostream> #include <cstr 阅读全文
posted @ 2023-07-21 09:50 董晓 阅读(226) 评论(0) 推荐(0)
摘要: A17 排序 中位数 距离和的最小值_哔哩哔哩_bilibili P10452 货仓选址 - 洛谷 // 贪心+排序 O(nlogn) #include<bits/stdc++.h> using namespace std; const int N=100010; int n,a[N]; int m 阅读全文
posted @ 2023-07-21 09:46 董晓 阅读(690) 评论(0) 推荐(3)