{"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20100814%2Fp1\" title=\"Project Euler 149\uff082\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>","title":"Project Euler 149\uff082\uff09","height":"190","description":"http://projecteuler.net/index.php?section=problems&id=149 \u3088\u304f\u8003\u3048\u305f\u3089\u3001\u3053\u308c\u3063\u3066\u5de6\u304b\u3089\u9806\u306b\u8003\u3048\u305f\u307b\u3046\u304c\u7c21\u5358\u3067\u3059\u306d\u3002\u305d\u3046\u3059\u308b\u3068\u3001\u5168\u4f53\u306e\u548c\u3001\u6700\u5927\u306e\u548c\u3001\u53f3\u7aef\u3092\u542b\u3080\u6700\u5927\u306e\u548c\u306e3\u3064\u3092\u8003\u3048\u308c\u3070\u6e08\u307f\u307e\u3059\u3002\u3053\u3046\u3059\u308b\u3068\u30b3\u30fc\u30c9\u304c\u3059\u3063\u304d\u308a\u3057\u305f\u4e0a\u300146\u79d2\u3067\u3057\u305f\u3002\u518d\u5e30\u4f7f\u308f\u306a\u3044\u304b\u3089\u901f\u3044\u3093\u3067\u3057\u3087\u3046\u304b\u3002 def max_sum(a): def add(s, e): return (s[0] + e, max(s[1], s[2] + e), max(s[2] + e, e)) return reduce(add, a, (0, 0, 0)) \u3061\u306a\u307f\u306b\u3001C++\u3067\u7d44\u3093\u3060\u3089\u2026","type":"rich","version":"1.0","url":"https://inamori.hateblo.jp/entry/20100814/p1","published":"2010-08-14 00:00:00","blog_url":"https://inamori.hateblo.jp/","blog_title":"inamori\u2019s diary","categories":["PE","\u6570\u5b66","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"provider_name":"Hatena Blog","author_name":"inamori","author_url":"https://blog.hatena.ne.jp/inamori/","width":"100%","provider_url":"https://hatena.blog"}