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.
(sum [1..100])^2 - sum (map (\x -> x^2) [1..100])
No comments:
Post a Comment