摘要: 令h(0)=1,h(1)=1,Catalan数满足递推式 1. h(n)= h(0)*h(n-1)+h(1)*h(n-2) + ... + h(n-1)*h(0) (n>=2)2. h(n)=h(n-1)*(4*n-2)/(n+1);递推关系的解为:1. h(n)=C(2n,n)/(n+1) (n= 阅读全文
posted @ 2018-08-26 11:15 l..q 阅读(111) 评论(0) 推荐(0)
摘要: 题目描述 Somewhere in an animal kingdom far from here there is a large forest. Inside the forest live a large number of frogs.Every year the frogs gather 阅读全文
posted @ 2018-08-26 10:35 l..q 阅读(368) 评论(0) 推荐(1)
摘要: <climits>头文件定义的符号常量 CHAR_MIN char的最小值SCHAR_MAX signed char 最大值SCHAR_MIN signed char 最小值UCHAR_MAX unsigned char 最大值SHRT_MAX short 最大值SHRT_MIN short 最小值 阅读全文
posted @ 2018-08-26 10:19 l..q 阅读(259) 评论(0) 推荐(0)