2018年7月14日

循环求组合数 组合数打表模板

摘要: #include using namespace std; int c[1005][1005]; int main(){ memset(c,0,sizeof(c)); c[0][0] = 1; for(int i = 1; i <= 1000; i ++){ for(int j = 0; j <= i; j ++) if(j == 0 || j == i) c[i]... 阅读全文

posted @ 2018-07-14 22:26 九月旧约 阅读(238) 评论(0) 推荐(0) 编辑

Covered Points Count CF1000C 思维 前缀和 贪心

摘要: Covered Points Count time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Covered Points Coun 阅读全文

posted @ 2018-07-14 20:10 九月旧约 阅读(555) 评论(0) 推荐(0) 编辑

Light It Up CF1000B 思维

摘要: Light It Up time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Light It Up time limit per te 阅读全文

posted @ 2018-07-14 17:27 九月旧约 阅读(177) 评论(0) 推荐(0) 编辑

导航