摘要: CF70D(动态凸包) 给出q( include include using namespace std; typedef long long LL; const LL maxn=1e5+5; double ox=0, oy=0; struct Point{ LL op, x, y; double 阅读全文
posted @ 2018-07-23 15:33 pechpo 阅读(251) 评论(0) 推荐(0) 编辑
摘要: (multi)set的某些操作 我们可以把multiset当作平衡树用~ 注意,必须定义小于运算符。 s.begin() 返回指向第一个元素的迭代器。 s.end() 返回指向最后元素的后面那个虚拟元素的迭代器。 s.clear() 删除所有元素。 s.empty() 判断容器是否为空。 s.ins 阅读全文
posted @ 2018-07-23 10:04 pechpo 阅读(380) 评论(0) 推荐(0) 编辑