摘要: 左偏树 炒鸡棒的论文《左偏树的特点及其应用》 虽然题目要求比论文多了一个条件,但是……只需要求非递减就可以AC……数据好弱…… 虽然还没想明白为什么,但是应该觉得应该是这样——求非递减用大顶堆,非递增小顶堆…… 这题和bzoj1367题意差不多,但是那题求的是严格递增。(bzoj找不到那道题,可能是 阅读全文
posted @ 2019-08-05 21:25 DWVictor 阅读(497) 评论(0) 推荐(0)
摘要: ## Problem A A - Memory and Crow CodeForces - 712A 题意: 分析可得bi=ai+ai+1 题解: 分析可得bi=ai+ai+1 C++版本一 #include<bits/stdc++.h> using namespace std; const int 阅读全文
posted @ 2019-08-05 20:05 DWVictor 阅读(189) 评论(0) 推荐(0)
摘要: ## Problem A A - Meeting of Old Friends CodeForces - 714A 题意: 解题说明:此题其实是求两段区间的交集,注意要去除掉交集中的某个点。 题解: C++版本一 #include<cstdio> #include<iostream> #includ 阅读全文
posted @ 2019-08-05 19:54 DWVictor 阅读(181) 评论(0) 推荐(0)
摘要: ## Problem A 题意: 题解: C++版本一 ## Problem B 题意: 题解: C++版本一 ## Problem C 题意: 题解: C++版本一 ## Problem D 题意: 题解: C++版本一 ## Problem E 题意: 题解: C++版本一 ## Problem 阅读全文
posted @ 2019-08-05 11:00 DWVictor 阅读(277) 评论(0) 推荐(0)