[Haskell-beginners] GCJ 2015 - Round 1A Problem - Haircut

Sourabh sourabh.s.joshi at gmail.com
Sat Apr 18 15:58:23 UTC 2015


Strict foldl' solved the stack overflow issue, thanks for catching this
Sumit. However it is still taking way too long to compute, which means this
wasn't the intended solution for the problem.

I'll need to compute the average service time w/ the harmonic mean as Doug
suggested and then massage the code some more to get exactly what is asked.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150418/acedda25/attachment.html>


More information about the Beginners mailing list