随笔分类 - ==数学-矩阵快速幂
摘要:一口气做完六个省的省选(误) Day1 [Shoi2017]期末考试 枚举最大的天数,然后代价贪心地O(1)计算。 1 #include <cstdio> 2 #include <algorithm> 3 4 #define R register 5 typedef long long ll; 6
阅读全文
摘要:Day1 [Sdoi2017]数字表格 推式子的莫比乌斯反演题。 1 #include <cstdio> 2 #include <algorithm> 3 #include <cstring> 4 #include <cmath> 5 6 7 #define maxn 1000010 8 #defi
阅读全文

浙公网安备 33010602011771号