血腥刽子手
血腥刽子手
全部文章
分类
51nod(2)
c++语法(1)
codeforces(4)
dfs(1)
dp(7)
LCA(2)
WAWAWA(1)
区间dp(3)
可持久化数据结构(2)
字符串(1)
容斥原理(6)
尺取法(1)
数位dp(1)
数据结构(1)
数论(4)
普通筛(1)
最短路(2)
未归档(130)
模板(11)
牛客Wannafly(1)
牛客小白月赛(2)
状态压缩dp(2)
莫比乌斯反演(2)
计算几何(1)
贪心(3)
还没有完全理解的题(1)
归档
标签
去牛客网
登录
/
注册
血腥刽子手的博客
全部文章
(共193篇)
poj 1038
http://poj.org/problem?id=1038 这题我找Wrong找到想吐了。。。。本来就是看别人的代码,别人的思路写的,感觉都一模一样了,但还是Wrong。我就从别人正确的代码,一个函数一个函数的换成我的函数,wocao,怎么全部搬过来都还是AC了。。。。。。最上面怎么会有问题??...
2018-03-20
0
21
51nod 1269 Devu and Flowers
http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1269 关于容斥原理阔以看一哈这位童鞋滴博客: https://blog.csdn.net/hnust_xiehonghao/article/details/789323...
2018-03-18
0
460
poj 2411
http://poj.org/problem?id=2411 /*Óùö¶¯Êý×é*/ #include"iostream" #include"string.h" using namespace std; long long dp[2][(1<&l...
2018-03-18
0
512
(LCA离线)poj1330 M - Nearest Common Ancestors
#include"iostream" #include"string.h" using namespace std; const int maxn=1e4+5; int N; struct Edge { int t,next; }; Edge E[ma...
2018-03-18
0
369
#1069 : 最近公共祖先·三(LCA在线)
1.HDU 2586 How far away #include"iostream" #include"string.h" #include"vector" #include"map" using namespace ...
2018-03-18
0
424
树的直径
方法一:求每个点的最长和次长 #include"iostream" #include"vector" using namespace std; const int maxn=1e5+5; vector<int>E[maxn]; int dp[ma...
2018-03-18
0
652
Lucas
#include"iostream" using namespace std; const int MOD=1e9+7; typedef long long LL; const int maxn=25; int N,K; LL mul(LL a,LL b,LL mod) { ...
2018-03-17
0
391
大数乘法(非FFT)
注意点: 1.两个数相乘的时候,要用long long 防止溢出 2.最后输出的时候,位数不够前面补0,用的是 %.9d 反正阔以这样用(っ•̀ω•́)っ✎⁾⁾ 我爱学习 #include"iostream" #include"algorithm" #i...
2018-03-15
0
484
分解质数rho
#include"iostream" #include"time.h" #include"vector" #include"stdlib.h" #include"string.h" #include&...
2018-03-13
0
433
后缀数组
文章目录 后缀数组中的数组意思 后缀数组的一些性质 hihocoder 1403 : 后缀数组一·重复旋律 hihocoder 1407 : 后缀数组二·重复旋律2 hihocoder 1415 : 后缀数组三·重复旋律3 hdu 6194 string string s...
2018-03-13
0
443
首页
上一页
11
12
13
14
15
16
17
18
19
20
下一页
末页