2 lines
53 B
CoffeeScript
2 lines
53 B
CoffeeScript
gcd = (x, y) ->
|
|
if y == 0 then x else gcd y, x % y
|
gcd = (x, y) ->
|
|
if y == 0 then x else gcd y, x % y
|