![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
dp
superxtong
浮点猫
展开
-
poj 2192 Zipper
题目链接:http://poj.org/problem?id=2192Zipper Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 17549 Accepted: 6242 DescriptionGiven three strings, you are to determine whether the原创 2016-05-14 16:03:45 · 323 阅读 · 0 评论 -
ZOJ 3605 找大理石———————
#include #include #include #include using namespace std; long long dp[55][55][55]; long long a[105],b[105]; long long t,n,m,k,d; int main (void) { cin>>t; while(t--) { c原创 2016-05-05 22:53:02 · 193 阅读 · 0 评论 -
USACO-Subset Sums
For many sets of consecutive integers from 1 through N (1 <= N <= 39), one can partition the set into two sets whose sums are identical.For example, if N=3, one can partition the set {1, 2, 3} in one w原创 2016-06-02 21:39:21 · 269 阅读 · 0 评论 -
3991 H. Eat or Study
As a ACMer, Yan is good at arrange his schedule. On every morning of the term, he will have a choice: study or eating. Especially, Yan can only do one thing everyday, and he have to do one thing ever原创 2016-07-11 00:51:27 · 355 阅读 · 0 评论 -
F - Longest Ordered Subsequence
Description A numeric sequence of ai is ordered if a1 < a2 < … < aN. Let the subsequence of the given numeric sequence ( a1, a2, …, aN) be any sequence ( ai1, ai2, …, aiK), where 1 <= i1 < i2 < … < iK原创 2016-07-13 23:39:01 · 183 阅读 · 0 评论 -
A - 最少拦截系统
Description 某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹. 怎么办呢?多搞几套系统呗!你说说倒蛮容易,成本呢?成本是个大问题啊.所以俺就到这里来求救了,请帮助计算原创 2016-07-13 23:42:07 · 648 阅读 · 0 评论 -
B - FatMouse's Speed
Input Input contains data for a bunch of mice, one mouse per line, terminated by end of file. The data for a particular mouse will consist of a pair of integers: the first representing its size in gra原创 2016-07-13 23:59:09 · 320 阅读 · 0 评论 -
USACO-Money Systems
The cows have not only created their own government but they have chosen to create their own money system. In their own rebellious way, they are curious about values of coinage. Traditionally, coins co原创 2016-06-11 23:17:15 · 502 阅读 · 0 评论 -
HDU 1059- Dividing
Description Marsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the marbles. This would be easy if all the marbles ha原创 2016-06-01 23:07:56 · 556 阅读 · 0 评论