摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1023解题报告:就是求第n个卡特兰数是多少,不过这个n的范围有点大1到100,所以还要用到高精度,其实这题也就是纯粹的高精度加法跟乘法结合起来。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int MAX = 1000+5; 7 typedef __int64 INT; 8 char dp[105][10000]; 9 10 void sum(char* s1,char* s2) {11 int le... 阅读全文
posted @ 2013-09-16 17:37
xiaxiaosheng
阅读(194)
评论(0)
推荐(0)

浙公网安备 33010602011771号