会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
曹文博
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
上一页
1
2
3
4
5
6
7
···
15
下一页
2019年9月5日
南京网络赛a(离线 树状数组)
摘要: Here is a square matrix of n * nn∗n, each lattice has its value (nn must be odd), and the center value is ...
阅读全文
posted @ 2019-09-05 18:24 曹文博
阅读(54)
评论(0)
推荐(0)
编辑
2019年9月2日
super_log(欧拉降幂)
摘要: n Complexity theory, some functions are nearly O(1)O(1), but it is greater then O(1)O(1). For example, the...
阅读全文
posted @ 2019-09-02 21:28 曹文博
阅读(72)
评论(0)
推荐(0)
编辑
2019年8月31日
ac自动机模板 hdu2222
摘要: In the modern time, Search engine came into the life of everybody like Google, Baidu, etc. Wiskey also wan...
阅读全文
posted @ 2019-08-31 14:57 曹文博
阅读(47)
评论(0)
推荐(0)
编辑
2019年8月27日
Seek the Name, Seek the Fame POJ - 2752 (nxt数组应用)
摘要: The little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little ...
阅读全文
posted @ 2019-08-27 21:12 曹文博
阅读(63)
评论(0)
推荐(0)
编辑
Power Strings(求循环次数最多的循环节 kmp)
摘要: Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def"...
阅读全文
posted @ 2019-08-27 21:07 曹文博
阅读(86)
评论(0)
推荐(0)
编辑
Period(循环节 nxt数组的应用)
摘要: For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126...
阅读全文
posted @ 2019-08-27 14:11 曹文博
阅读(124)
评论(0)
推荐(0)
编辑
2019年8月26日
kmp 算法回顾(Number Sequence HDU - 1711 )
摘要: 给定两个数字序列 a[] 和 b[],b[] 有可能整体作为一个连续子序列出现在了 a[] 中,现在请你找出 b[] 在 a[] 中第一次出现的位置(起始位置从 1 开始计数),如果一次都没有出现,请输出 -1。...
阅读全文
posted @ 2019-08-26 20:22 曹文博
阅读(57)
评论(0)
推荐(0)
编辑
最短路 2 (百度之星 初赛3 B)(floyd)
摘要: 小 A 是社团里的工具人,有一天他的朋友给了他一个 nn 个点,mm 条边的正权连通无向图,要他计算所有点两两之间的最短路。作为一个工具人,小 A 熟练掌握着 floyd 算法,设 w[i][j]w[i][j] ...
阅读全文
posted @ 2019-08-26 18:58 曹文博
阅读(60)
评论(0)
推荐(0)
编辑
path(优先队列,dijk拓展)
摘要: Problem DescriptionYou have a directed weighted graph with n vertexes and m edges. The value of a path is ...
阅读全文
posted @ 2019-08-26 18:42 曹文博
阅读(105)
评论(0)
推荐(0)
编辑
2019年8月12日
(银联复赛)爱喝「肥宅快乐水」的班长
摘要: 题目描述现在已经是暑假了!这周日,码队的弟弟所在的班级——上海某中学高二 33 班的同学们准备在码队弟弟的带领下(码队的弟弟是这个班的班长),举办一场派对。码队的弟弟让两名同学打开手机 「云闪付」app,在云闪付...
阅读全文
posted @ 2019-08-12 16:34 曹文博
阅读(68)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
···
15
下一页