Learning F# through Project Euler
Reusing the fact function we slipped into Problem 15, this is essentially the same as Problem 16.
let problem20a = fact 100I |> string |> Seq.sumBy (fun c -> c |> string |> int)
No comments:
Post a Comment