Problem sounds very interesting! If you had time and motivation, might add a possibility to work on it in C# :)
Division in this challenge is defined as integer division. It should be always rounded, it's specified this way.
I think the test answers use int during every calculation step not only in the end result. Resulting in rounding prematurely and thus wrong outputs
Thanks, approved
Java translation
Great
Approved
Fork
Fixed in this fork
Can you take a look at the issue, thanks
Oops
Approved it myself.
Haskell: The type of the initial solution should be Integer -> Int -> Integer.
Integer -> Int -> Integer
You didn't actually approve it homie.
Loading collection data...
Problem sounds very interesting! If you had time and motivation, might add a possibility to work on it in C# :)
Division in this challenge is defined as integer division. It should be always rounded, it's specified this way.
I think the test answers use int during every calculation step not only in the end result. Resulting in rounding prematurely and thus wrong outputs
Thanks, approved
Java translation
Great
Approved
Fork
Fixed in this fork
Can you take a look at the issue, thanks
Oops
Approved it myself.
Haskell: The type of the initial solution should be
Integer -> Int -> Integer
.You didn't actually approve it homie.
Loading more items...