12 2020 档案
摘要:迪利克雷卷积的k次方可以直接快速幂,怎么求k次方根呢?(模意义下) 裸题https://codeforces.com/gym/102471/problem/C 听到了两种做法,一种是一位一位爆推,dp[i][j]记为有顺序的乘积为j,i个不为1的方案数。 代码 #include <bits/stdc
阅读全文
摘要:#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <ext/pb_ds/detail/branch_policy/branch
阅读全文

浙公网安备 33010602011771号