Learning F# through Project Euler
Easy.
let problem16a = bigint.Pow(2I, 1000) |> string |> Seq.sumBy (fun c -> c |> string |> int)
No comments:
Post a Comment