会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Algorithms Crush Me
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
24
下一页
2015年10月25日
第九周 10.25-10.31
摘要: 10.25HDU 4117GRE Words卡了很久的一个题目。比较综合。看了很久题解还是各种写挫。毕竟除了模拟题都没敲过那么长的。题意:按顺序给N个单词,每个单词有权值,删去其中任意单词,使得前面的单词为后面单词的子串,求最大权值和。做法:先建好AC自动机。 最先想到的方法应该是这样的。 ...
阅读全文
posted @ 2015-10-25 10:28 Aguin
阅读(204)
评论(1)
推荐(0)
2015年10月18日
第八周 10.18-10.24
摘要: 10.18HDU 5504GT and sequencesb了。copy后忘改一个数字。 1 #include 2 #include 3 #include 4 using namespace std; 5 typedef long long LL; 6 LL a[100]; 7 8 int ...
阅读全文
posted @ 2015-10-18 16:05 Aguin
阅读(179)
评论(0)
推荐(0)
2015年10月11日
第七周 10.11-10.17
摘要: 10.11ZOJ Monthly。ZOJ 3903Ant推公式。 1 #include 2 #include 3 using namespace std; 4 typedef long long LL; 5 const LL mod=1e9+7; 6 const LL re=83333334LL...
阅读全文
posted @ 2015-10-11 23:36 Aguin
阅读(215)
评论(0)
推荐(0)
2015年10月4日
第六周 10.4-10.10
摘要: 10.4CF 582AGCD Table贪心取最大。熟悉set大法。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 multiset S; 9 mult...
阅读全文
posted @ 2015-10-04 10:49 Aguin
阅读(233)
评论(0)
推荐(0)
2015年9月28日
2015 ACM/ICPC Asia Regional Hefei Online
摘要: 1001Monitor the Alpacas1002The Relationship in Club1003Difference of Clustering两边离散化。暴力扫C就过了。 1 #include 2 #include 3 #include 4 #include 5 u...
阅读全文
posted @ 2015-09-28 22:24 Aguin
阅读(229)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
24
下一页
公告