ummmmm
码龄7年
关注
提问 私信
  • 博客:82,398
    82,398
    总访问量
  • 268
    原创
  • 559,828
    排名
  • 23
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:上海市
  • 加入CSDN时间: 2018-03-17
博客简介:

博客

博客描述:
ummmmm
查看详细资料
个人成就
  • 获得13次点赞
  • 内容获得2次评论
  • 获得126次收藏
  • 代码片获得145次分享
创作历程
  • 28篇
    2019年
  • 242篇
    2018年
成就勋章
TA的专栏
  • 搜索
    14篇
  • 贪心
    13篇
  • 递推
    4篇
  • 分治法
    19篇
  • DP
    38篇
  • 背包问题
    17篇
  • 最短路
    17篇
  • 并查集
    5篇
  • 模板
    47篇
  • 数学
    17篇
  • 竞赛
    19篇
  • STL
    7篇
  • 递归
    5篇
  • 字符串
    32篇
  • 线段树
    15篇
  • 倍增
    7篇
  • 生成树
    12篇
  • 常用技巧
    21篇
  • 树状数组
    4篇
  • 单调栈
    1篇
  • 博弈
    2篇
  • 网络流
    17篇
  • 数位DP
    9篇
  • KMP
    11篇
  • AC自动机
    5篇
  • 后缀数组
    3篇
  • 区间DP
    6篇
  • 枚举
    1篇
  • 容斥原理
  • 组合数学
    2篇
  • 树形DP
    1篇
  • 概率期望
    4篇
  • 主席树
    2篇
  • 树套树
    1篇
  • 单调队列
    2篇
  • 交互式
    1篇
  • 状压DP
    1篇
  • 图论
    7篇
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

180人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

[KM算法 O(n^ 3) ] 带权二分图最大匹配

奔小康赚大钱Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 18257Accepted Submission(s): 7702Problem Description传说在遥远的地方有一个非常富裕的村落,有一天,村长...
原创
发布博客 2019.11.05 ·
285 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[2-SAT] 输出路径 POJ3683 Priest John's Busiest Day

Priest John's Busiest DayTime Limit:2000MS Memory Limit:65536K Total Submissions:13255 Accepted:4495 Special Judge DescriptionJohn is the only priest in his town. S...
原创
发布博客 2019.10.30 ·
217 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[DAG支配树(拓扑排序+LCA)] HDU6604 Blow up the city

Blow up the cityTime Limit: 5000/5000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 742Accepted Submission(s): 393Problem DescriptionCountry A and B ...
原创
发布博客 2019.09.21 ·
392 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

约瑟夫环 n, k 第 m 个出圈

ACM-ICPC 2018 沈阳赛区现场赛 K. Let the Flames Begin (约瑟夫环问题)题目链接:题意:有 n 个人围成一个圈,从 1 开始报到第 k 个人出环,问第 m 个出环的人是谁,n、m、k <= 1e18 且 min(m,k)<= 2e6。题解:容易得出O(m)的递推公式 f[n][m] = (f[n-1][m-1] + k - 1)% n +...
转载
发布博客 2019.09.08 ·
498 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[硬核线段树] 2018CCPC吉林I.lovers

LoversTime Limit: 25000/15000 MS (Java/Others)Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 351Accepted Submission(s): 104Problem DescriptionThe Fool comes to a cros...
原创
发布博客 2019.07.17 ·
316 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

[序列自动机+倍增] 查询是否存在一个给出的全排列的循环右移是给定区间的子序列 CF1143E

E. Lynyrd Skynyrdtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently Lynyrd and Skynyrd went to a shop where Lynyrd bought ...
原创
发布博客 2019.05.15 ·
328 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

[DP + 序列自动机] 修改子串并询问原串中是否包含子串 CF1150D

D. Three Religionstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDuring the archaeological research in the Middle East you foun...
原创
发布博客 2019.05.10 ·
199 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

[倍增] 将带权树分割为数量最少的链 CF1059E

E. Split the Treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a rooted tree onnnvertices, its root is the ver...
原创
发布博客 2019.04.30 ·
242 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[tarjan + lca] 动态加边求桥

D - NetworkPOJ - 3694A network administrator manages a large network. The network consists of N computers and M links between pairs of computers. Any pair of computers are connected directly or ...
原创
发布博客 2019.04.19 ·
327 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[tarjan缩点 + 割点 / 割边 + 重边] 无向图求割点

#include <iostream>#include <cstdio>#include <cmath>#include <stack>#include <cstring>#define ll long long#define db doubleusing namespace std;const int mn = ...
原创
发布博客 2019.04.15 ·
447 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[tarjan模板] 需要几个点覆盖整张图+需要增加几条边 使全图强联通

A - Network of SchoolsPOJ - 1236A number of schools are connected to a computer network. Agreements have been developed among those schools: each school maintains a list of schools to which it d...
原创
发布博客 2019.04.15 ·
142 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[拓扑排序] 横纵涂色 ZOJ3780

E - Paint the Grid AgainZOJ - 3780Leo has a grid withN×Ncells. He wants to paint each cell with a specific color (either black or white).Leo has a magical brush which can paint any row wit...
原创
发布博客 2019.04.12 ·
147 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[状压DP] 每个人排在不同位置有不同贡献 求队伍贡献值一定的方案数 ZOJ3777

B - Problem ArrangementZOJ - 3777The 11th Zhejiang Provincial Collegiate Programming Contest is coming! As a problem setter, Edward is going to arrange the order of the problems. As we know, the...
原创
发布博客 2019.04.11 ·
155 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

[NIM博弈变形] A在部分堆中只能取奇数 另一部分只能取偶数 B任取 ZOJ3964

G - Yet Another Game of StonesZOJ - 3964Alice and Bob are playing yet another game of stones. The rules of this game are as follow:The game starts withnpiles of stones indexed from 1 ton. T...
原创
发布博客 2019.04.11 ·
266 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[组合数递推公式] RGB游戏 ZUFE2019校赛D

问题 D: D - RGB游戏时间限制:1 Sec内存限制:256 MB提交:35解决:6[提交][状态][讨论版]题目描述三水最近发明了一个RGB游戏:有 n 个方格,编号为从 1 到 n,它用七种颜色的颜料给方格上色,每个 方块只能涂一种颜色。总的分值是这 n 个方块得分之和,如果方块被涂成红色,则方块的得分为 2,如 果方块被涂成蓝色则为 3,如果方块被涂...
原创
发布博客 2019.03.18 ·
258 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

[最大独立集 = 补图的最大团] E. Helping Hiasat CF1105E

E. Helping Hiasattime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHiasat registered a new account in NeckoForces and when his fri...
原创
发布博客 2019.03.12 ·
208 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

[线段树+欧拉函数+状态压缩] 区间修改 求区间积的欧拉函数 CF1114F

F. Please, another Queries on Array?time limit per test5.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an arraya1,a2,…,ana1,a2,…,a...
原创
发布博客 2019.02.28 ·
354 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

[交互式+随机] 询问求等差数列 CF1114E

E. Arithmetic Progressiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThis is an interactive problem!An arithmetic progress...
原创
发布博客 2019.02.27 ·
223 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

[区间DP] 选择区间改变颜色使同色 n = 5000 CF1114D

D. Flood Filltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a line of nn colored squares in a row, numbered from ...
原创
发布博客 2019.02.26 ·
274 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

[分解质因数/阶乘素因子的幂] C. Trailing Loves (or L'oeufs?) CF1114C

C. Trailing Loves (or L'oeufs?)time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe number "zero" is called "love" (or "l'oeuf" t...
原创
发布博客 2019.02.25 ·
387 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏
加载更多