题目链接:http://codeforces.com/problemset/problem/7/CAX+BY=C已知 A B C 求 X Y;#include #include #include #include using namespace std;typedef long long LL;LL... Read More
posted @ 2015-10-29 13:23
西瓜不懂柠檬的酸
Views(215)
Comments(0)
Diggs(0)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1114题意是有一个存钱罐,当它是空的时候重量为E,满的时候重量为F;已知存钱罐里面有 n 种钱,每种钱的价值为 P 重量为 W ;求存钱罐满的时候里面至少有多少钱;是一个完全背包(求从n个物品中选出总重量... Read More
posted @ 2015-10-29 10:34
西瓜不懂柠檬的酸
Views(226)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号