随笔分类 -  ==数学-矩阵快速幂

摘要:一口气做完六个省的省选(误) Day1 [Shoi2017]期末考试 枚举最大的天数,然后代价贪心地O(1)计算。 1 #include <cstdio> 2 #include <algorithm> 3 4 #define R register 5 typedef long long ll; 6 阅读全文
posted @ 2017-05-06 22:43 cot 阅读(1091) 评论(0) 推荐(0)
摘要:Day1 [Sdoi2017]数字表格 推式子的莫比乌斯反演题。 1 #include <cstdio> 2 #include <algorithm> 3 #include <cstring> 4 #include <cmath> 5 6 7 #define maxn 1000010 8 #defi 阅读全文
posted @ 2017-04-28 16:19 cot 阅读(272) 评论(0) 推荐(0)