3 ms·
I agree. Also as minor nitpick, I doubt your Haskell typechecks (haven't tried it): you forgot to take the floor of d.
by omaranto 7y ago
I agree.
Also as minor nitpick, I doubt your Haskell typechecks (haven't tried it): you forgot to take the floor of d.
- tel 7y agoProbably, I didn't check it. I think the actual answer is messier: fromIntegral on a, b, and c.