
搬运
文章平均质量分 78
吴钩揽月
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
MATRIX_CHAIN
//这是按照算法导论给出解法写出的算法#include#include#includeusing namespace std;ifstream fin("C:\\data17.in");char ID[100];int length[100],width[100];int n;int multinum[100][100];int s[100][100];#define M翻译 2014-11-12 21:17:35 · 651 阅读 · 0 评论 -
0_1背包问题
//此问题由于在暑假看过提示,这里算buan转载 2014-11-11 14:51:19 · 632 阅读 · 0 评论 -
硬币问题
//此版本和wode#include#include#includeusing namespace std;ifstream fin("C:\\data14.in");int S;int V[1000];int n;int total[1000];int scheme[10000];void Init(){int valu转载 2014-11-11 09:06:10 · 552 阅读 · 0 评论 -
Coins Change
UVA 674问题描述Suppose there are 5 types of coins: 50-cent, 25-cent, 10-cent, 5-cent, and 1-cent. We want to make changes with these coins for a given amount of money.For example, if we have 1转载 2014-11-16 09:45:05 · 812 阅读 · 0 评论 -
Stacking Boxes
UVA 103 问题描述 Stacking Boxes BackgroundSome concepts in Mathematics and Computer Science are simple in one or two dimensions but become more complex when extended to arbi转载 2014-11-16 13:47:50 · 615 阅读 · 0 评论 -
UVA138---StreetNumber
问题描述:A computer programmer lives in a street with houses numbered consecutively (from 1) down one side of the street. Every evening she walks her dog by leaving her house and randomly turning left转载 2014-11-22 10:34:42 · 551 阅读 · 0 评论 -
Jugs
UVA 571 Jugs问题描述:In the movie ``Die Hard 3", Bruce Willis and Samuel L. Jackson were confronted with the following puzzle. They were given a 3-gallon jug and a 5-gallon jug and were asked to fil原创 2014-11-21 20:28:24 · 919 阅读 · 0 评论