摘要:
#include#include#include#includeusing namespace std;int dp[100000+5],N;void zeroonepack(int cost,int weight){ for(int i=N;i>=cost;i--) ... 阅读全文
posted @ 2015-08-08 19:00
xryz
阅读(113)
评论(0)
推荐(0)
摘要:
#include#include#includeusing namespace std;int main(){ int i,len,a,b,c; char s[100]; while(~scanf("%s",s)) { a=b=c=0; ... 阅读全文
posted @ 2015-08-08 11:53
xryz
阅读(134)
评论(0)
推荐(0)
摘要:
#include#include#includeusing namespace std;int main(){ int n,m,k,ans; while(~scanf("%d%d",&n,&k)) { ans=0; m=0; ... 阅读全文
posted @ 2015-08-08 11:51
xryz
阅读(114)
评论(0)
推荐(0)
摘要:
#includeint main(){ double c,a; int i; while(~scanf("%lf",&c)) { if(c==0) break; a=0.0; i=1; while(a<c... 阅读全文
posted @ 2015-08-08 11:50
xryz
阅读(161)
评论(0)
推荐(0)
摘要:
#include#include#includeusing namespace std;int a[1000000+5];int main(){ int n,i,t,ans; while(~scanf("%d",&n)) { memset(a,0,si... 阅读全文
posted @ 2015-08-08 11:49
xryz
阅读(177)
评论(0)
推荐(0)
摘要:
#include#include#includeusing namespace std;int main(){ int n,m,k,ans; while(~scanf("%d%d",&n,&k)) { ans=0; m=0; ... 阅读全文
posted @ 2015-08-08 11:48
xryz
阅读(168)
评论(0)
推荐(0)
摘要:
#include#include#include#includeusing namespace std;struct node{ int num; int t; int now; friend bool operator q;int main(){ in... 阅读全文
posted @ 2015-08-08 10:47
xryz
阅读(126)
评论(0)
推荐(0)

浙公网安备 33010602011771号