
CDQ分治
文章平均质量分 81
stony_oi
oi弱鸡qaq
今天终于开博客啦
展开
-
bzoj2716
mdzz数据范围看错了 #include #include #include #include #include using namespace std; typedef long long LL; inline int read() { int x=0;bool f=0;char c=getchar(); for (;c'9';c=getchar()) f=c=='-'?1:0原创 2016-12-11 17:43:39 · 4024 阅读 · 0 评论 -
bzoj3295【CDQ分治】
答案在long long 范围内 #include #include #include #include #include using namespace std; typedef long long LL; inline int read() { int x=0;bool f=0;char c=getchar(); for (;c'9';c=getchar()) f=c=='-原创 2016-12-11 19:22:07 · 547 阅读 · 0 评论 -
bzoj4237
按x排序,y分治 然后单调栈随便搞一搞就行辣 #include #include #include #include #include using namespace std; typedef long long LL; inline int read() { int x=0;bool f=0;char c=getchar(); for (;c'9';c=getchar()) f=c=='原创 2016-12-12 10:37:03 · 273 阅读 · 0 评论 -
bzoj2961【cdq分治】
#include #include #include #include #include using namespace std; typedef long long LL; inline int read() { int x=0;bool f=0;char c=getchar(); for (;c'9';c=getchar()) f=c=='-'?1:0; for (;c原创 2016-12-09 10:35:23 · 346 阅读 · 0 评论 -
uoj191 Unknown
点分治还能这么用,感觉好妙啊 然而我不到200行的程序居然错了10多个地方,调了一晚上,简直zz #include #include #include #include #include #define R register using namespace std; typedef long long LL; inline int read() { int x=0;bool f=0;char原创 2017-05-05 08:50:28 · 404 阅读 · 0 评论