{"author_name":"inamori","image_url":null,"version":"1.0","provider_url":"https://hatena.blog","blog_title":"inamori\u2019s diary","title":"Scala\u3067Project Euler\uff087\uff09","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20110512%2Fp1\" title=\"Scala\u3067Project Euler\uff087\uff09 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://inamori.hateblo.jp/entry/20110512/p1","categories":["Scala"],"author_url":"https://blog.hatena.ne.jp/inamori/","published":"2011-05-12 00:00:00","provider_name":"Hatena Blog","width":"100%","blog_url":"https://inamori.hateblo.jp/","description":"Problem 3\u7d20\u56e0\u6570\u5206\u89e3\u3057\u3066\u6700\u5f8c\u306e\u7d20\u56e0\u6570\u3092\u8868\u793a\u3059\u308c\u3070\u3088\u3044\u3067\u3057\u3087\u3046\u3002 Long \u4eca\u307e\u3067\u4f7f\u3063\u3066\u304d\u305fInt\u306f32\u30d3\u30c3\u30c8\u7b26\u53f7\u4ed8\u304d\u6574\u6570\u3067\u3059\u3002\u4e0e\u3048\u3089\u308c\u305f\u6574\u6570\u306f\u305d\u306e\u7bc4\u56f2\u3092\u8d85\u3048\u3066\u3044\u307e\u3059\u3002Scala\u306b\u306f64\u30d3\u30c3\u30c8\u7b26\u53f7\u4ed8\u304d\u6574\u6570\u3082\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u308c\u304cLong\u3067\u3059\u3002\u30b5\u30d5\u30a3\u30c3\u30af\u30b9L\u3092\u3064\u3051\u308c\u3070Long\u306b\u306a\u308a\u307e\u3059\u3002 val N = 600851475143L List List\u306fHaskell\u306e\u305d\u308c\u3068\u540c\u3058\u3067\u3001\u5148\u982d\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u304f\u5217\u3067\u3059\u3002List\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u4f5c\u308a\u307e\u3059\u3002 val a = List(3, 1, 4) \u6b21\u306f\u3001\u5148\u982d\u306b\u8981\u7d20\u3092\u3064\u3051\u3066\u65b0\u305f\u306aList\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002 val b = 5 :: a // List\u2026","type":"rich","height":"190"}