diff options
-rw-r--r-- | 003.ex | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,6 +4,6 @@ n = 600851475143 |> Enum.reduce_while(n, fn x, acc -> if acc == x, do: {:halt, x}, else: {:cont, acc / x} end) -|> trunc -|> IO.puts +|> trunc() +|> IO.puts() |