- 博客(5)
- 收藏
- 关注
原创 UVA 10130 SuperSale 动态规划
#include#include#include#includeusing namespace std;struct OBJ{ int p; int w;};OBJ obj[1005];int n;int g;int mw[105];int d[105][35];int vis[1005];bool cmp(const O
2014-05-29 20:31:49 496
原创 2014辽宁省赛 Picking Cabbage 状压dp
#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;const double eps=1e-6;struct POINT{ int x; int y;};int n;double d[1
2014-05-22 11:26:01 651
原创 uva 147 Dollars 简单dp
#include#include#include#include#include#include#include#include#include#includeusing namespace std;const int NUM_COINS=11;const int MAXN=30000;double coins[NUM_COINS]={10000,5000,2000,10
2014-05-22 10:03:03 392
原创 uva 357 Let Me Count The Ways 简单dp
#include#include#include#include#include#include#include#include#include#includeusing namespace std;const int NUM_COINS=5;const int MAXN=30000;int coins[NUM_COINS]={50,25,10,5,1};long lo
2014-05-22 09:37:54 368
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人