摘要:
二分答案显然。 然后使用莫比乌斯函数~#include#include#include#includeconst int SIZE = 2e9, MAXN = 5e4;int k; int u[MAXN];int prime[MAXN], tot;bool check[MAXN];... 阅读全文
摘要:
莫比乌斯反演+分块优化PoPoQQQ的课件讲得很详细,大赞~!#include#include#include#include#include#include#include#include#include#include#include#includeconst int SIZE ... 阅读全文