![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
dp
文章平均质量分 84
Hold_My_Own
When the dust settles, and it will, we'll see.
展开
-
(SCU - 1114 )数字三角
(SCU - 1114 )数字三角描述:下图是个数字三角,请编写一个程序计算从顶部至底部某处一条路径,使得该路径所经过的数字总和最大。73 88 1 02 7 4 41. 每一步可沿左斜线向下或右斜线向下走;2. 1<=三角形行数<=1003. 三角形中的数字为整数 0,1,……,99。4. 如果有多种情况结果都最大,任意输出一种即可。输入:第一行一个整数N,代表三角形的行数。接原创 2017-08-08 20:09:07 · 441 阅读 · 0 评论 -
(CSU - 1729)齿轮传动
(CSU - 1729)齿轮传动Time Limit: 1 Sec Memory Limit: 128 Mb Submitted: 204 Solved: 97Description你在一家机械厂打工,你的老板让你把一组齿轮种类序列a1,a2,..,an取走几个让齿轮的传动比为1:1,老板要求你取走最少的齿轮,不能改变齿轮原来的相对位置,满足条件,即齿轮种类组合起来是回文串。原创 2017-09-20 22:25:47 · 431 阅读 · 0 评论 -
(CodeForces - 598E)Chocolate Bar
(CodeForces - 598E)Chocolate Bar You have a rectangular chocolate bar consisting of n × m single squares. You want to eat exactly k squares, so you may need to break the chocolate bar.In one move you can brea原创 2017-09-10 09:48:19 · 538 阅读 · 0 评论 -
(POJ - 3661)Running
(POJ - 3661)RunningThe cows are trying to become better athletes, so Bessie is running on a track for exactly N (1 ≤ N ≤ 10,000) minutes. During each minute, she can choose to either run or rest for the whole m原创 2017-08-23 14:30:13 · 238 阅读 · 0 评论 -
(UVA - 12034)Race
(UVA - 12034)RaceDisky and Sooma, two of the biggest mega minds of Bangladesh went to a far country. They ate, coded and wandered around, even in their holidays. They passed several months in this way.原创 2017-08-05 17:15:23 · 325 阅读 · 0 评论 -
(CodeForces - 5C)Longest Regular Bracket Sequence
(CodeForces - 5C)Longest Regular Bracket Sequencetime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputThis is yet another problem dealing with regul原创 2017-08-11 08:38:17 · 316 阅读 · 0 评论 -
(CodeForces - 455A)Boredom
(CodeForces - 455A)Boredomtime limit per test:1 secondmemory limit per test:256 megabytesinput:standard inputoutput:standard outputAlex doesn’t like boredom. That’s why whenever he gets bored, he comes原创 2017-08-09 15:25:07 · 251 阅读 · 0 评论 -
(POJ - 2533)Longest Ordered Subsequence
(POJ - 2533)Longest Ordered Subsequence Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 54195 Accepted: 24230DescriptionA numeric sequence of ai is ordered if a1 < a2原创 2017-08-09 08:48:37 · 333 阅读 · 0 评论 -
(POJ - 1458)Common Subsequence
Common Subsequence Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 54132 Accepted: 22490DescriptionA subsequence of a given sequence is the given sequence wit原创 2017-08-08 20:43:21 · 316 阅读 · 0 评论 -
(HDU - 5763)Another Meaning
(HDU - 5763)Another Meaning As is known to all, in many cases, a word has two meanings. Such as “hehe”, which not only means “hehe”, but also means “excuse me”. Today, ?? is chating with MeiZi online, MeiZi se原创 2017-10-08 10:47:55 · 389 阅读 · 0 评论