Skip to content

【基础篇】模拟,枚举与递推 #1

@azl397985856

Description

@azl397985856

求 1 到 n 中所有整数 x 的 f(x) ,并以数组返回。其中 f(x) 指的是 x 的 2 的因子个数。 比如 f(6) = 1 ,因为 6 = 2 * 3,只有一个因子 2 。 f(4) = 2 ,因为 4 = 2 * 2,有两个因子 2 。

将会在此章节结束后公布答案,再次之前请大家多多讨论。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions