Shape of HDU Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4395 Accepted Submission(s): 1950 Problem Description 话说上回讲到海东集团推选老总的事情
//卡特兰数递归实现:超时 /*#include <iostream> using namespace std; int catalan(int n){ if (n == 1) return 1; if (n == 2) return 1; int res = 0; for (int i = 1; i <= n - 1;i++){ r