[SDOI2018]旧试题 题解
传送门简单反演+神仙优化题。首先我们知道σ0(xy)=∑i∣x∑j∣y[(i,j)=1]\sigma_0(xy)=\sum\limits_{i|x}\sum\limits_{j|y}[(i,j)=1]σ0(xy)=i∣x∑j∣y∑[(i,j)=1]σ0(xyz)=∑i∣x∑j∣y∑k∣z[(i,j)=1][(i,k)=1][(j,k)=1]\sigma_0(xyz)=\sum\lim...
原创
2019-05-01 18:06:55 ·
631 阅读 ·
0 评论