以下の内容はhttps://inamori.hateblo.jp/entry/20100421/p1より取得しました。


Project Euler 13

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


F#には大きな整数を扱えるbigint型があります。末尾にIをつけるとbigint型になります。

let a = [
   37107287533902102798797998220837590246510135740250I;
   46376937677490009712648124896970078050417018260538I;
   ...
   53503534226472524250874054075591789781264330331690I
]

let s = string (List.sum a)
printfn "%s" s.[0..9]



以上の内容はhttps://inamori.hateblo.jp/entry/20100421/p1より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14