Loading

欧拉筛质数以及四大积性数论函数(欧拉函数、莫比乌斯函数、约数个数函数、约数和函数)

先上板子,方便整理板子的时候使用它。后面再讲为什么。 #include<cstdio> using namespace std; #define IL inline typedef long long LL; const int N = 1e6 + 3; bool np[N]; int pri[N]
posted @ 2020-01-28 01:44  bringlu  阅读(1001)  评论(0编辑  收藏  举报