https://www.cnblogs.com/2462478392Lee/p/11573629.html https://www.cnblogs.com/2462478392Lee/p/11573640.html https://www.cnblogs.com/2462478392Lee/p/11 Read More
#include<cstdio> #include<cstring> #include<algorithm> #include<queue> #include<cmath> #include<map> #include<vector> #define ll long long using names Read More
https://blog.csdn.net/m0_37624640/article/details/83276324 这篇博客很详细,也很容易理解。求每个的贡献贡献,得到ans[i]=(n−prime[i][pos]+1)∗(prime[i][pos]−prime[i][pos−1]); #inc Read More