07 September 2009

Haskell agus Tionscadal Euler #6

Seo an chéad phost sa tsraith seo.

Mo réiteach féin do uimhir a sé:

(sum [1..100])^2 - sum (map (\x -> x^2) [1..100])

Tá mé sásta leis. Níor chonaic mé réiteach is fearr liom ar an fóram.

If you're wondering what this is all about, here's the first post in this series.

No comments: