![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数论
Ha.wang
这个作者很懒,什么都没留下…
展开
-
C. Alarm Clocks Everywhere(欧几里得算法简单应用)
Ivan is going to sleep now and wants to set his alarm clock. There will be many necessary events tomorrow, the ii-th of them will start during the xixi-th minute. Ivan doesn’t want to skip any of the ...原创 2019-08-13 20:53:53 · 189 阅读 · 0 评论 -
Fear Factoring Gym - 101652P (数论-除法分块)
题目链接:https://cn.vjudge.net/contest/323440#problem/C 题意:定义F(x)为x的所有因子和,现在给你l,r,求l-r之内的所有F(i)的和。 参考:https://blog.csdn.net/Healer66/article/details/82561234 for(LL l = 1,r;l <= n;l = r + 1){ ...原创 2019-09-06 21:10:33 · 171 阅读 · 0 评论