摘要: 1 #include 2 #include 3 #define MAXN 510 4 using namespace std; 5 int f[MAXN][MAXN], dp[MAXN][MAXN];// 数字塔数组和dp数组 6 int main() { 7 int n; 8 scanf("%d", &n); 9 for (int i = 1;... 阅读全文
posted @ 2017-11-30 20:46 ouyang_wsgwz 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int prime[40]; 7 int c1[151]; 8 int c2[151]; 9 int num[151]; 10 int l; 11 void init() 12 { 13 int i,j; 14 num[0]=1; 15... 阅读全文
posted @ 2017-11-30 20:15 ouyang_wsgwz 阅读(189) 评论(0) 推荐(0) 编辑