![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Codeforce题解
文章平均质量分 81
世界上最菜的人
这个作者很懒,什么都没留下…
展开
-
2021-07-05
C. Strange FunctionLet f(i) denote the minimum positive integer x such that x is not a divisor of i.Compute ∑i=1nf(i)\sum_{i=1}^{n} f(i)∑i=1nf(i) modulo 10910^9109+7. In other words, compute f(1)+f(2)+⋯+f(n) modulo 10910^9109+7.InputThe first line con原创 2021-07-05 18:13:16 · 202 阅读 · 0 评论 -
Codeforce round #729 B题
B. Plus and Multiply1 is in this set.If x is in this set, x⋅a and x+b both are in this set.For example, when a=3 and b=6, the five smallest elements of the set are:1,3 (1 is in this set, so 1⋅a=3 is in this set),7 (1 is in this set, so 1+b=7 is in th原创 2021-07-05 17:11:18 · 114 阅读 · 1 评论