{"description":"Problem 16 \u7d2f\u4e57\u306e\u8a08\u7b97\u306b\u306f\u3001BigInteger.Pow() \u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3002 \u6587\u5b57\u306e\u6570\u5024\u3078\u306e\u5909\u63db\u306f\u3001c - '0' \u3068\u3057\u307e\u3059\u3002int.Parse(string) \u3067\u3082\u3044\u3044\u307f\u305f\u3044\u3067\u3059\u3002 using System; using System.Numerics; class PE016 { public static void Main() { int sum = 0; var x = BigInteger.Pow(new BigInteger(2), 1000); foreach (char c in x.ToString()) { sum += c - '0'; } Co\u2026","blog_title":"C#\u7df4\u7fd2\u65e5\u8a18","author_name":"noriok","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/noriok/","published":"2014-05-18 00:38:00","version":"1.0","title":"Project Euler 16","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoriok.hatenadiary.jp%2Fentry%2F2014%2F05%2F18%2F003800\" title=\"Project Euler 16 - C#\u7df4\u7fd2\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://noriok.hatenadiary.jp/","categories":[],"provider_name":"Hatena Blog","image_url":null,"height":"190","width":"100%","url":"https://noriok.hatenadiary.jp/entry/2014/05/18/003800","type":"rich"}