标签:style blog http io ar color os sp for
http://acm.nyist.net/JudgeOnline/problem.php?pid=1103
Give you a convex(凸边形), diagonal n-3 disjoint divided into n-2 triangles(直线), for different number of methods, such as n=5, there are 5 kinds of partition method, as shown in Figure
3 3 4 5
Case #1 : 1 Case #2 : 2 Case #3 : 5
解题思路: 卡特兰数
1 #include <stdio.h>
标签:style blog http io ar color os sp for
原文地址:http://www.cnblogs.com/angle-qqs/p/4121836.html