上一页 1 ··· 73 74 75 76 77
摘要: VF时间限制:1000 ms | 内存限制:65535 KB 难度:2描述Vasya is the beginning mathematician. He decided to make an important contribution to the science and to become f... 阅读全文
posted @ 2015-05-25 23:16 handsomecui 阅读(714) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 struct Case{ 4 int price,importance; 5 }data[25]; 6 int main(){ 7 int N,m,T,bag[30000],a,b; 8 scanf("%d",&T); 9 ... 阅读全文
posted @ 2015-05-25 23:13 handsomecui 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 int bag[1001]; 6 struct Case{ 7 int c,w; 8 }apple[1010]; 9 /*int cmp(Case a,Case b){10 ... 阅读全文
posted @ 2015-05-25 23:11 handsomecui 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 单调递增最长子序列描述求一个字符串的最长递增子序列的长度如:dabdbf最长递增子序列就是abdf,长度为4输入第一行一个整数0intlength(char*s){intlen[128]={0},i,t;for(;*s!='\0'&&(t=len[*s-1]+1);s++)for(i=*s;i<12... 阅读全文
posted @ 2015-05-23 15:37 handsomecui 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 卡特兰数 Catalan数 ( ACM 数论 组合 )Posted on 2010-08-07 21:51 MiYu 阅读(13170) 评论(1) 编辑收藏 引用 所属分类: ACM ( 数论 ) 、ACM_资料 、ACM ( 组合 ) 维基百科资料:卡塔兰数卡塔兰数是组合数学中一个常出现在各种计... 阅读全文
posted @ 2015-05-14 09:30 handsomecui 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 想想自己为了ACM真的没有付出什么,自己喜爱的东西却不能为之而努力,真的喜欢上了一句话,笑着走完自己的路,只是单纯的兴趣而已,以后就决定这条路了,虽然是高山,但我还年轻,以后还是专注于算法了,加油。 阅读全文
posted @ 2015-05-14 09:29 handsomecui 阅读(156) 评论(0) 推荐(0) 编辑
上一页 1 ··· 73 74 75 76 77