ProjectEuler problem 1 in C, Groovy, Lisp, Perl, Python, and Ruby
My blog post about the first problem in Project Euler went strange places. I was just trying to learn Python by solving a barely non-trivial problem. Maybe it was a full moon, not sure, but it wound up in a tangle of gcc, groovyc, and .elc. Happily, some good performance improvements were suggested and I've tried to incorporate them below.
Tags : c-and-cpp groovy other-languages ruby programming
You will be redirected to ProjectEuler problem 1 in C, Groovy, Lisp, Perl, Python, and Ruby, in 20 seconds.
