2019年8月21日
摘要: 1.给两个非严格递增的序列,每次分别从两个数组中抽出一个区间并合并,求排序后第k小。单log。 分治即可。 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int maxn=5E5+5; 4 int n,m,a[maxn],b[max 阅读全文
posted @ 2019-08-21 16:27 GreenDuck 阅读(187) 评论(0) 推荐(0) 编辑