
随便看看
文章平均质量分 71
吴钩揽月
这个作者很懒,什么都没留下…
展开
-
0_1背包问题
//此问题由于在暑假看过提示,这里算buan转载 2014-11-11 14:51:19 · 622 阅读 · 0 评论 -
DP入门之一 金字塔
//这个wom#include#include#includeusing namespace std;ifstream fin("C:\\data12.in");int data[32767];int prev[32676];int maxsum[32767];int n;void Init(){fin>>n;in原创 2014-11-10 10:04:17 · 561 阅读 · 0 评论 -
无穷背包问题
#include#include#includeusing namespace std;ifstream fin("C:\\data15.in");int totalVolumn;int weight[100],volumn[100];int n;int scheme[10000];int num[100];void Init()原创 2014-11-11 10:52:26 · 693 阅读 · 0 评论 -
硬币问题
#include#include#includeusing namespace std;ifstream fin("C:\\data14.in");int n,S;int V[100];int scheme[10000];int value[100];int prev[10000];int trans[10000];void So原创 2014-11-10 15:24:35 · 495 阅读 · 0 评论 -
(GAD)NestedRectangle
//同样k#include#include#includeusing namespace std;ifstream fin("C:\\data13.in");struct rect{rect(int a=0,int b=0):length(a),width(b){}int length;int width;};rect原创 2014-11-10 14:13:14 · 591 阅读 · 0 评论 -
Fibonacci
问题:楼梯有n个台阶,原创 2014-11-20 15:55:40 · 498 阅读 · 0 评论 -
危险的组合
问题:有一些zhuang转载 2014-11-20 18:46:50 · 1025 阅读 · 0 评论 -
POJ 1825------Young
问题描述:DescriptionConsider m natural numbers n1, n2, ..., nm with the property n1 >= n2 >= ... >= nm > 0. We define a Young table as an arrangement in a table of n1 + n2 + ... + nm natural原创 2014-12-04 12:16:00 · 2563 阅读 · 0 评论 -
Twin Towers
Problem BThe Twin TowersInput: standard inputOutput: standard output Once upon a time, in an ancient Empire, there were two towers of dissimilar shapes in two different cities. The towers we原创 2014-11-15 18:59:24 · 711 阅读 · 0 评论