Actuarial Programming

Python Haskell R and so on

Archive for July 14th, 2009

Project Euler

leave a comment »

http://projecteuler.net/index.php?section=problems

Stumble upon this interesting website. Interesting idea. Anyone who likes keeping some question marks in their minds must check it out!

My solution to the first question:

foldl (+) 0 [x | x<-[1..1000], x `mod` 3 == 0 || x `mod` 5 == 0]

Written by n0ne

July 14, 2009 at 4:54 pm

Posted in Haskell

Follow

Get every new post delivered to your Inbox.