会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yijiull
We will be giants.
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
50
下一页
2018年1月21日
K-th Number POJ - 2104 (整体二分)
摘要: K-th Number POJ - 2104 之前学主席树写了一遍 最近再看CDQ分治和整体二分,一直不是很理解,看着别人代码稍微理解了一些 1 //比主席树慢了挺多 2 #include <iostream> 3 #include <cstring> 4 #include <cstdio> 5 6
阅读全文
posted @ 2018-01-21 11:14 yijiull
阅读(132)
评论(0)
推荐(0)
2018年1月20日
D. Unusual Sequences(容斥)
摘要: D. Unusual Sequences 隔板法 + 容斥原理 1 //容斥(莫比乌斯反演) 2 #include <bits/stdc++.h> 3 using namespace std; 4 #define LL long long 5 const int mod = 1e9+7; 6 LL
阅读全文
posted @ 2018-01-20 21:25 yijiull
阅读(178)
评论(0)
推荐(0)
Tour HDU - 3488
摘要: Tour HDU - 3488 可以用费用流做 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int inf = 0x3f3f3f3f; 4 const int maxv = 410; 5 const int maxe = max
阅读全文
posted @ 2018-01-20 09:25 yijiull
阅读(183)
评论(0)
推荐(0)
2018年1月19日
Going Home HDU - 1533 (费用流)
摘要: Going Home HDU - 1533 1 //费用流初探 2 #include <iostream> 3 #include <queue> 4 #include <cstring> 5 #include <cstdio> 6 #include <algorithm> 7 using names
阅读全文
posted @ 2018-01-19 20:57 yijiull
阅读(144)
评论(0)
推荐(0)
2018年1月16日
CDQ分治
摘要: 这篇里面有几个链接还不错https://www.cnblogs.com/dirge/p/5810855.html 不错的CDQ分治 https://www.cnblogs.com/mlystdcall/p/6219421.html 关于偏序问题的总结 http://blog.csdn.net/jtj
阅读全文
posted @ 2018-01-16 20:45 yijiull
阅读(143)
评论(0)
推荐(0)
K-th Number POJ - 2104 (主席树)
摘要: K-th Number POJ - 2104 第一道主席树... 本来暑假就该学会的东西拖到了寒假orz... 要不是看到了这个博客估计还没去学 链接 1 #include <iostream> 2 #include <cstring> 3 #include <cstdio> 4 #include
阅读全文
posted @ 2018-01-16 15:04 yijiull
阅读(111)
评论(0)
推荐(0)
A * B Problem Plus HDU - 1402 (FFT)
摘要: A * B Problem Plus HDU - 1402 第一道FFT... 1 #include <iostream> 2 #include <complex> 3 #include <cstdio> 4 #include <cstring> 5 #include <cmath> 6 #incl
阅读全文
posted @ 2018-01-16 12:07 yijiull
阅读(133)
评论(0)
推荐(0)
2018年1月15日
Prime Test POJ - 1811(素性检测+大数分解)
摘要: Prime Test POJ - 1811 题意:判断N (2 <= N < 2 54) 是不是素数,如果不是求它的最小素因数. millerRabin素性检测 + pollard rho大数分解 链接 1 #include <iostream> 2 #include <cstring> 3 #in
阅读全文
posted @ 2018-01-15 21:26 yijiull
阅读(310)
评论(0)
推荐(0)
2018年1月13日
数据结构
摘要: 链表: 1 /************************************************************************* 2 > File Name: List_BaseArray.cpp 3 > Author: yijiull 4 > Mail: 11471
阅读全文
posted @ 2018-01-13 21:14 yijiull
阅读(179)
评论(0)
推荐(0)
2017年12月20日
FFT
摘要: 看这两篇博客就差不多了 第一篇:链接 第二篇:链接 关于虚数:链接 以上来自:Candy? 这篇里面也有一些链接可以看看: 点我 拖了好久... 这里就放个抄来的模板吧=_= 1 const int maxn = 200010; 2 const double pi = acos(-1.0); 3 c
阅读全文
posted @ 2017-12-20 15:11 yijiull
阅读(120)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
50
下一页
公告