Skip to content

最小公倍数を求める関数を追加する #4

@e6nlaq

Description

@e6nlaq

最小公倍数を求める関数algocpp::math::lcmを追加する

実装は以下に基づく。
$$lcm(a,b) = \frac {ab}{gcd(a,b)}$$

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions