KetchupZ
KetchupZ
全部文章
分类
# 01_容斥定理(2)
# AC自动机/Manacher(8)
# color coding k-th近似算法(1)
# KMP(7)
# LCA(3)
# Prufer序列/无向图三元环计数(3)
# 凸包/旋转卡壳(2)
# 割点/割边/强连通分量(4)
# 区间DP(1)
# 单调队列/单调栈(6)
# 压缩算法(1)
# 回文自动机(3)
# 字典树(7)
# 字符串Hash(1)
# 实战项目(6)
# 并查集(2)
# 扩展欧几里得/中国剩余定理(3)
# 排序算法(5)
# 数位DP(8)
# 数论杂项(2)
# 最小生成树(3)
# 最小费用流(5)
# 最短路径/差分约束/最长路(12)
# 朴素DP(1)
# 树形DP(4)
# 树状数组(11)
# 概率DP(3)
# 欧拉函数/素数(2)
# 欧拉路径/其他(1)
# 欧拉降幂(1)
# 状压DP(8)
# 线段树(2)
# 网络流/最小割/二分图匹配(10)
# 背包问题(6)
# 莫比乌斯反演(2)
# 语法/函数/部分骚操作(15)
++++++++几何数学++++++++(2)
++++++++数论++++++++(1)
+++++图论++++++++(2)
+++++字符串++++++++(1)
+++++数据结构++++++++(1)
+++++组合数学++++++++(7)
100场比赛计划(7)
cdq分治(1)
Codeforce(12)
专项之C/C++(13)
专项之Java(11)
专项之Liunx(1)
专项之sql(6)
专项之计算机网络(2)
其他题目/思维/贪心(42)
暴力/尺取/二分/三分(10)
未归档(11)
比赛历程(1)
比赛技巧(5)
深搜/广搜(5)
珂朵莉树/老司机树(1)
归档
标签
去牛客网
登录
/
注册
KetchupZ的博客
全部文章
(共303篇)
F - Balanced Number(HDU3709)
F - Balanced Number A balanced number is a non-negative integer that can be balanced if a pivot is placed at some digit. More specifically, imagine e...
2019-01-13
0
371
E - Round Numbers(POJ3252)
E - Round Numbers The cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone’ (also known as ‘Rock, Paper, S...
2019-01-13
0
493
A - Beautiful numbers(CF 55D)
A - Beautiful numbers Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if and only...
2019-01-09
0
462
C - 不要62(hdu2089)
C - 不要62 杭州人称那些傻乎乎粘嗒嗒的人为62(音:laoer)。 杭州交通管理局经常会扩充一些的士车牌照,新近出来一个好消息,以后上牌照,不再含有不吉利的数字了,这样一来,就可以消除个别的士司机和乘客的心理障碍,更安全地服务大众。 不吉利的数字为所有含有4或62的号码。例如: 62315 ...
2019-01-09
0
520
欧拉,素数,莫比乌斯反演函数筛法
欧拉,素数,莫比乌斯反演函数筛法 此筛法依据原理:每个合数肯定能被自己的最小素因子筛到,即val=素数*数。若没被筛到则为素数 #include<cstdio> #include<algorithm> #include<string> #include&l...
筛法
2018-12-26
0
380
W - Blocks(POJ3734 矩阵快速幂)
W - Blocks Panda has received an assignment of painting a line of blocks. Since Panda is such an intelligent boy, he starts to think of a math proble...
2018-12-19
0
397
U - The Balance(动态规划,HDU(1709))
U - The Balance Now you are asked to measure a dose of medicine with a balance and a number of weights. Certainly it is not always achievable. So you...
dp
2018-12-19
0
403
I - GCD(莫比乌斯反演欧拉函数,HDU1695)
I - GCD(莫比乌斯反演/欧拉函数,HDU1695) Given 5 integers: a, b, c, d, k, you’re to find x in a…b, y in c…d that GCD(x, y) = k. GCD(x, y) means the greatest comm...
2018-12-19
0
370
V - 排列组合 HDU(1521)
V - 排列组合 HDU(1521) 有n种物品,并且知道每种物品的数量。要求从中选出m件物品的排列数。例如有两种物品A,B,并且数量都是1,从中选2件物品,则排列有"AB","BA"两种。 Input 每组输入数据有两行,第一行是二个数n,m(1<...
2018-12-16
0
465
归并排序求逆序数
<center> 归并排序求逆序数 </center> 例题:nyoj117 117-求逆序数 内存限制:64MB 时间限制:2000ms 特判: No 通过数:33 提交数:90 难度:5 题目描述: 在一个排列中,如果一对数的前后位置与大小...
2018-12-13
0
325
首页
上一页
16
17
18
19
20
21
22
23
24
25
下一页
末页