
dp
深海幽藍
ACMer
展开
-
HDU 1087 Super Jumping! Jumping! Jumping!
Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little about this game, so I introduce it to you now. The转载 2017-12-07 21:38:23 · 153 阅读 · 0 评论 -
HDU-1159 Common Subsequence
A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = < x1, x2, ..., xm > another sequence Z = < z1, z2, ..., zk > is a ...原创 2018-03-14 18:10:39 · 158 阅读 · 0 评论 -
HDU-2995 01背包
The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become too greedy. He has decided to work in the lucrative...原创 2018-03-22 19:03:33 · 268 阅读 · 0 评论 -
HDU-2602 01背包
Bone CollectorTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14336 Accepted Submission(s): 5688Problem DescriptionMany years ago , in Teddy...转载 2018-03-21 17:14:18 · 187 阅读 · 0 评论 -
poj 1163 The Triangle
7 3 8 8 1 0 2 7 4 4 4 5 2 6 5 (Figure 1)Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route that starts at the top and e...原创 2018-04-15 17:11:33 · 148 阅读 · 0 评论 -
HDU-5542-The Battle of Chibi(树状数组+数位dp)
Time Limit: 6000/4000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Problem Description Cao Cao made up a big army and was going to invade the whole South China. Yu Zhou was wo...转载 2018-05-01 22:20:27 · 301 阅读 · 0 评论 -
Codeforces-118D Caesar's Legions
aius Julius Caesar, a famous general, loved to line up his soldiers. Overall the army had n1 footmen and n2 horsemen. Caesar thought that an arrangement is notbeautiful if somewhere in the line there ...转载 2018-04-27 22:34:38 · 327 阅读 · 0 评论