mirror of
https://github.com/onyx-and-iris/aoc2023.git
synced 2024-11-22 10:20:48 +00:00
typo
This commit is contained in:
parent
457358e77b
commit
af4701dab7
@ -14,7 +14,7 @@ func GCF(a, b int) int {
|
|||||||
return a
|
return a
|
||||||
}
|
}
|
||||||
|
|
||||||
// LCM returns least common multiple of a set a numbers
|
// LCM returns least common multiple of a set of numbers
|
||||||
func LCM(a, b int, integers ...int) int {
|
func LCM(a, b int, integers ...int) int {
|
||||||
result := a * b / GCF(a, b)
|
result := a * b / GCF(a, b)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user