摘要: 水~View Code 1 #include<stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 #include<algorithm> 5 #include<map> 6 using namespace std; 7 int in[ 10 ],sum[ 8 ]; 8 /* 9 BCG 1 2 3//(12)(34)(68)10 BGC 1 3 2//(12)(35)(67)11 12 CBG 2 1 3//(01)(45)(68)13 CGB 2 3 1//(01)(35)(78 阅读全文
posted @ 2013-02-10 22:47 xxx0624 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 题意:卡特兰数+n!java!View Code 1 import java.math.BigInteger; 2 import java.util.*; 3 4 public class HDU1131{ 5 public static void main( String args[] ){ 6 int n; 7 Scanner cin=new Scanner(System.in); 8 BigInteger h[]=new BigInteger[ 105 ]; 9 h[ 0 ]=h[ 1 ]=BigInteger.... 阅读全文
posted @ 2013-02-10 22:06 xxx0624 阅读(366) 评论(0) 推荐(0) 编辑