BZOJ 3739: DZY loves math VIII(莫比乌斯反演)

3739: DZY loves math VIII

然后我就自闭了

然而题解告诉窝:只有squre free的才有贡献,暴搜乱搞即可,O(乱搞)+O(nlogn)=O(能过)

0 0 vote
Article Rating
Subscribe
提醒
guest
0 评论
Inline Feedbacks
View all comments