摘要: PS:所有没有记录的题,(一本正经)应该是不会补了 10月19日 [luogu4056 JSOI2009] 火星藏宝图 (贪心 dp) [luogu4571 JSOI2009] 瓶子和燃料 (数论) [luogu4127 AHOI2009] 同类分布 (数位dp) [luogu3573 POI201 阅读全文
posted @ 2018-10-17 22:58 Menteur_hxy 阅读(258) 评论(0) 推荐(0) 编辑
摘要: "传送门" Solution 一位一位考虑,直接得到答案中第i为是否为1 Code cpp //By Menteur_Hxy include include include include include include include define Re register define Ms(a, 阅读全文
posted @ 2018-10-17 22:29 Menteur_hxy 阅读(239) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-10-17 20:26 Menteur_hxy 阅读(3) 评论(1) 推荐(0) 编辑
摘要: "传送门" Solution 卡特兰数 排队问题的简单变化 答案为$C_{2n}^n \pmod p$ 由于没有逆元,只好用分解质因数,易证可以整除 Code 阅读全文
posted @ 2018-10-17 20:07 Menteur_hxy 阅读(182) 评论(0) 推荐(0) 编辑