zhber
有好多做过的题没写下来,如果我还能记得就补吧
摘要: DescriptionAlas! A set of D (1 #includeusing namespace std;int n,m,k,final,ans;int mul[20];int a[1010];int f[1b?a:b;}inline int read(){ int x=0,f=1... 阅读全文
posted @ 2014-07-31 23:15 zhber 阅读(185) 评论(0) 推荐(0) 编辑
摘要: DescriptionFJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 #includeusing namespace std;int n,m;int a[20],wrk[2... 阅读全文
posted @ 2014-07-31 22:23 zhber 阅读(157) 评论(0) 推荐(0) 编辑
摘要: DescriptionFJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 int n,a[2010];int f[2010][2010];inline int max(int ... 阅读全文
posted @ 2014-07-31 21:51 zhber 阅读(178) 评论(0) 推荐(0) 编辑
摘要: DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. T... 阅读全文
posted @ 2014-07-31 21:35 zhber 阅读(155) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe cows are building a roller coaster! They want your help to design as fun a roller coaster as possible, while keeping to the budget. The... 阅读全文
posted @ 2014-07-31 21:16 zhber 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Description给你一个无向图,N(N#include#includeusing namespace std;struct node{ int from,to; int path;}data[5001];int fa[501]; bool cmp(const node &a,con... 阅读全文
posted @ 2014-07-31 21:10 zhber 阅读(165) 评论(0) 推荐(0) 编辑