long long c[105][105]; void init() { for(int i=0; i<=50; i++) c[i][0] = 1,c[i][i] = 1; for(int i=1; i<=50; i++) for(int j=1; j<i; j++) c[i][j] = (c[i-1][j] + c[i-1][j-1]); }
posted on 2016-01-19 19:52 恶devil魔 阅读(129) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 恶devil魔 Powered by .NET 9.0 on Kubernetes