血腥刽子手
血腥刽子手
全部文章
分类
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篇)
模板汇总
数论 牛逼滴 数据结构 图论 基本dp 字符串 计算几何 数学知识 电磁场与电磁波 懒得写 数论 ...
2018-03-10
0
409
模乘
#include"iostream" using namespace std; long long mul1(long long a,long long b,long long mod) { long double x; long long c; long lo...
2018-03-10
0
588
指针的引用
最初看到这样一句话: bool Delete(BST *&u,int v) { if(u==NULL)return false; else if(u->v>v)return Delete(u->Ls,v); else if(u->v<v...
2018-03-08
0
392
HDU4838 To the moon
http://acm.hdu.edu.cn/showproblem.php?pid=4348 #include"iostream" #include"cstdio" using namespace std; const int maxn=1e5+5; int...
2018-03-04
0
431
求区间第k大(小)的数
文章目录 1175 区间中第K大的数 poj 2104 第k小 划分树: 1175 区间中第K大的数 题目链接:http://www.51nod.com/onlineJudge/questionCode.html#!problemId=1175&judgeId=6...
2018-02-01
0
478
51nod 1295 XOR key
#include"iostream" #include"string.h" #include"vector" using namespace std; const int maxn=5e4+5; int W; struct Tree { ...
2017-12-04
0
487
51nod 1174 区间中最大的数
#include"iostream" using namespace std; const int maxn=1e4+5; struct Tree { int l,r,Max; }; Tree tree[maxn<<2]; int a[maxn]; void ...
2017-12-04
0
401
莫比乌斯函数求和公式理解
就是对这个公式的理解 ∑i=1n∑d|iu(d)=1 <munderover> ∑ i = ...
2017-11-25
0
491
有Bug的回文串
/* 133个一样的,出来要多4个,不知道哪里错了 */ #include"iostream" #include"stdio.h" using namespace std; const int maxn=3e6+5; int P[maxn]; int f(...
2017-11-24
0
403
欧拉函数性质总结
文章目录 1.欧拉函数为不完全积性函数 1.欧拉函数为不完全积性函数 φ ( n ...
2017-11-11
0
314
首页
上一页
11
12
13
14
15
16
17
18
19
20
下一页
末页