会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
禅境花园
新博客 http://xiang578.github.io/
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
15
16
17
18
19
20
21
22
23
···
37
下一页
2015年7月16日
hdu 1171 Big Event in HDU
摘要: #include#include#includeusing namespace std;int dp[2000000],t;void zeroonepack(int cost,int weight){ for(int i=t;i>=cost;i--) { d...
阅读全文
posted @ 2015-07-16 08:59 xryz
阅读(90)
评论(0)
推荐(0)
2015年7月15日
hdu 2191 悼念512汶川大地震遇难同胞——珍惜现在,感恩生活
摘要: #include#include#includeusing namespace std;int n,m,p[100+5],h[100+5],c[100+5],dp[100+5];void zeroonepack(int cost,int weight){ for(int i=n...
阅读全文
posted @ 2015-07-15 16:53 xryz
阅读(123)
评论(0)
推荐(0)
hdu 2159 FATE
摘要: #include#include#includeusing namespace std;int main(){ int i,j,p,n,m,k,s,a[120],b[120],dp[120][120]; while(~scanf("%d%d%d%d",&n,&m,&k,&...
阅读全文
posted @ 2015-07-15 11:15 xryz
阅读(181)
评论(0)
推荐(0)
hdu 3127 WHUgirls
摘要: #include#include#includeusing namespace std;int d[1024][1024];int main(){ int _,i,j,k,n,X,Y,x[10+5],y[10+5],c[10+5]; scanf("%d",&_); ...
阅读全文
posted @ 2015-07-15 09:23 xryz
阅读(90)
评论(0)
推荐(0)
2015年7月14日
hdu 1408 acdearm "Money, Money, Money"
摘要: #includeint main(){ long long int x; while(~scanf("%lld",&x)) { if(x%2==0) printf("0 0\n"); else printf("2 %lld\n",x+2)...
阅读全文
posted @ 2015-07-14 16:11 xryz
阅读(99)
评论(0)
推荐(0)
hdu 1284 钱币兑换问题
摘要: #include#include#includeusing namespace std;int dp[35000];int main(){ int i,j,n; memset(dp,0,sizeof(dp)); dp[0]=1; for(i=1;i<=3;i+...
阅读全文
posted @ 2015-07-14 12:23 xryz
阅读(90)
评论(0)
推荐(0)
hdu 1248 寒冰王座
摘要: #include#include#includeusing namespace std;int main(){ int _,n,dp[10000+5],i,j,a[5]; a[1]=150; a[2]=200; a[3]=350; memset(dp,0...
阅读全文
posted @ 2015-07-14 12:21 xryz
阅读(112)
评论(0)
推荐(0)
hdu 1203 I NEED A OFFER!
摘要: #include#include#includeusing namespace std;int main(){ int n,m,i,j,w[10000+5]; double k[10000+5],dp[10000+5]; while(~scanf("%d%d",&n...
阅读全文
posted @ 2015-07-14 12:19 xryz
阅读(92)
评论(0)
推荐(0)
2015年7月11日
acdream 1726 A Math game
摘要: /* ***********************************************Author :xryzEmail :xiang578@foxmail.comCreated Time :7-11 11:59:34File Name ...
阅读全文
posted @ 2015-07-11 20:38 xryz
阅读(120)
评论(0)
推荐(0)
csu 1640 机智的刷题方式(完全背包)
摘要: #include #include #include #include #include #include #include #include #include #include #include #include using namespace std;const int N=10...
阅读全文
posted @ 2015-07-11 20:34 xryz
阅读(145)
评论(0)
推荐(0)
上一页
1
···
15
16
17
18
19
20
21
22
23
···
37
下一页
公告