会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Herumw's Blog
园子
首页
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
40
下一页
2016年3月6日
hdu4507吉哥系列故事——恨7不成妻 (数位dp)
摘要: Problem Description 单身! 依然单身! 吉哥依然单身! DS级码农吉哥依然单身! 所以,他生平最恨情人节,不管是214还是77,他都讨厌! 吉哥观察了214和77这两个数,发现: 2+1+4=7 7+7=7*2 77=7*11...
阅读全文
posted @ 2016-03-06 10:41 Herumw
阅读(215)
评论(0)
推荐(0)
2016年3月4日
hdu3652B-number (数位dp)
摘要: Problem DescriptionA wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and...
阅读全文
posted @ 2016-03-04 17:37 Herumw
阅读(159)
评论(0)
推荐(0)
poj3252 Round Numbers (数位dp)
摘要: DescriptionThe cows, as you know, have no fingers or thumbs and thus are unable to play Scissors, Paper, Stone' (also known as 'Rock, ...
阅读全文
posted @ 2016-03-04 15:39 Herumw
阅读(205)
评论(0)
推荐(0)
hdu4920Matrix multiplication (矩阵,bitset)
摘要: Problem DescriptionGiven two matrices A and B of size n×n, find the product of them.bobo hates big integers. So you are only asked to ...
阅读全文
posted @ 2016-03-04 12:39 Herumw
阅读(247)
评论(0)
推荐(0)
poj2443Set Operation (bitset)
摘要: DescriptionYou are given N sets, the i-th set (represent by S(i)) have C(i) element (Here "set" isn't entirely the same as the "set" d...
阅读全文
posted @ 2016-03-04 09:33 Herumw
阅读(189)
评论(0)
推荐(0)
2016年3月3日
codeforces 632F. Magic Matrix (最小生成树)
摘要: You're given a matrix A of size n × n.Let's call the matrix with nonnegative elements magic if it is symmetric (so aij = aji), aii = 0...
阅读全文
posted @ 2016-03-03 21:54 Herumw
阅读(224)
评论(0)
推荐(0)
2016年3月2日
codeforces632E. Thief in a Shop (dp)
摘要: A thief made his way to a shop.As usual he has his lucky knapsack with him. The knapsack can contain k objects. There are n kinds of p...
阅读全文
posted @ 2016-03-02 18:29 Herumw
阅读(205)
评论(0)
推荐(0)
codeforces632D. Longest Subsequence (最小公倍数)
摘要: You are given array a with n elements and the number m. Consider some subsequence of a and the value of least common multiple (LCM) of...
阅读全文
posted @ 2016-03-02 15:01 Herumw
阅读(270)
评论(0)
推荐(0)
Educational Codeforces Round 9 C. The Smallest String Concatenation(字符串排序)
摘要: You're given a list of n strings a1, a2, ..., an. You'd like to concatenate them together in some order such that the resulting string...
阅读全文
posted @ 2016-03-02 13:34 Herumw
阅读(181)
评论(0)
推荐(0)
2016年3月1日
hdu5407CRB and Candies (逆元+数学公式)
摘要: Problem DescriptionCRB has N different candies. He is going to eat K candies.He wonders how many combinations he can select.Can you an...
阅读全文
posted @ 2016-03-01 15:00 Herumw
阅读(195)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
40
下一页
公告