![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
倍增
wtcl
这个作者很懒,什么都没留下…
展开
-
CodeForces - 208E(二分 倍增)
讲解:https://blog.csdn.net/qq_45458915/article/details/102960953 #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #include<vector> using namespace ...原创 2020-04-09 14:40:19 · 91 阅读 · 0 评论 -
天才ACM
倍增+归并排序 1.merge函数中不能直接在原数组上改变,因为这次check()可能失败,必须额外用一个数组来存。 #include<cstdio> #include<cstring> #include<algorithm> #include<iostream> using namespace std; #define ll long long l...原创 2019-11-27 19:49:56 · 93 阅读 · 0 评论