{"url":"https://inamori.hateblo.jp/entry/20100517/p2","description":"http://projecteuler.net/index.php?section=problems&id=45 2\u3064\u306eiterable\u304c\u4e00\u81f4\u3059\u308b\u5024\u3092\u51fa\u3059\u30af\u30e9\u30b9\u3092\u4f5c\u308b\u3002 \u591a\u89d2\u6570\u3092\u51fa\u3059iterable\u304c\u306a\u304b\u306a\u304b\u66f8\u3051\u306a\u304b\u3063\u305f\u3002 \u5834\u5408\u5206\u3051\u3057\u3066\u3044\u308b\u306e\u306f\u3001\u3053\u3046\u3057\u306a\u3044\u3068\u30ae\u30ea\u30ae\u30eaint\u306e\u7bc4\u56f2\u306b\u53ce\u307e\u3089\u306a\u3044\u304b\u3089\u3002long long\u306b\u3057\u3066\u304a\u3051\u3070\u3053\u3093\u306a\u3053\u3068\u3092\u3059\u308b\u5fc5\u8981\u306f\u7121\u3044\u3002 template<int N> int polynomial(int n) { if(n % 2 == 0) return ((N - 2) * n + 4 - N) * (n / 2); else return ((N - 2) * n + \u2026","categories":["PE","C++"],"blog_url":"https://inamori.hateblo.jp/","version":"1.0","width":"100%","author_url":"https://blog.hatena.ne.jp/inamori/","type":"rich","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20100517%2Fp2\" title=\"Project Euler 45 - 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>","author_name":"inamori","blog_title":"inamori\u2019s diary","published":"2010-05-17 00:00:01","title":"Project Euler 45","provider_url":"https://hatena.blog","image_url":null,"height":"190"}