打表
风吼迷林
大神大神大神
展开
-
CodeForces 546D (质因子打表法)
Description Two soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier. Then the second one tries to make maximum possible number o原创 2016-08-14 11:18:27 · 260 阅读 · 0 评论 -
51nodoj 1240(莫比乌斯函数)
1240 莫比乌斯函数 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注 莫比乌斯函数,由德国数学家和天文学家莫比乌斯提出。梅滕斯(Mertens)首先使用μ(n)(miu(n))作为莫比乌斯函数的记号。(据说,高斯(Gauss)比莫比乌斯早三十年就曾考虑过这个函数)。 具体定义如下: 如果一个数包含平方因子,那么miu(n) = 0。例如:miu(原创 2016-09-07 17:00:40 · 632 阅读 · 0 评论