- 博客(37)
- 收藏
- 关注
原创 UVa1213 Sum of Different Primes
问一个数能表示为不同的#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include#defin
2014-07-30 09:27:14 1022
原创 codeforces memsql Start[c]UP 2.0 C. Magic Trick
题意:有m副相同的牌,每副牌有n张。你在这n*m张牌里面c
2014-07-28 22:10:22 1290
原创 UVa11040 - Add bricks in the wall
题意:45块石头堆砌起来从上到下1,2,3,...,9块。每块上的数是下面两块的和。
2014-07-25 17:57:15 613
原创 UVa 1629 - Cake slicing
题意:n*m大小的蛋糕,被分成n*m个区域,其中k个区域上面有樱桃。你需要把蛋糕切成k份,每份都有樱桃,切的时候只能水平或竖直沿着网格线切,切到底。问最短切的长度是多少。思路:DP。DP[u][d][l][r]。u,d,l,r表示整块蛋糕的上下左右。
2014-07-19 13:32:21 1864 1
原创 Codeforces Round #FF (Div. 2) Problem C DZY Loves Sequences
C. DZY Loves Sequencestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY has a sequence a, consistin
2014-07-14 10:31:04 534
原创 Codeforces Round #FF (Div. 2) Problem B DZY Loves Strings
B. DZY Loves Stringstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY loves collecting special strings wh
2014-07-13 23:36:27 534
原创 Codeforces Round #FF (Div. 2) Problem A DZY Loves Hash
A. DZY Loves Hashtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDZY has a hash table with p buckets, numbe
2014-07-13 23:33:02 509
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人