摘要: 经典问题:三维偏序 题:https://www.luogu.org/problem/P3810 一般处理:先按照自己定义的第一维排好序,那么在接下来的俩维判断中,我们就可以消除第一维造成的影响,接着用以前学过的分治排序法来处理第二维,以第二维作为排序对象,对于分治的[l,midd]和[midd+1, 阅读全文
posted @ 2019-10-06 18:56 starve_to_death 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 题:http://codeforces.com/gym/101964/problem/K 分析:https://blog.csdn.net/qq_43202683/article/details/98115901 #include<bits/stdc++.h> using namespace std 阅读全文
posted @ 2019-10-06 13:27 starve_to_death 阅读(144) 评论(0) 推荐(0) 编辑