{"version":"1.0","provider_url":"https://hatena.blog","title":"Project Euler 142","image_url":null,"url":"https://inamori.hateblo.jp/entry/20100802/p1","published":"2010-08-02 00:00:00","width":"100%","author_name":"inamori","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20100802%2Fp1\" title=\"Project Euler 142 - 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>","blog_url":"https://inamori.hateblo.jp/","description":"http://projecteuler.net/index.php?section=problems&id=142 (x - y) + (y - z) = x - z \u3067\u30013\u3064\u3068\u3082\u5e73\u65b9\u6570\u306a\u306e\u3067\u30d4\u30bf\u30b4\u30e9\u30b9\u6570\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u3042\u3068\u306fz\u3092\u6c7a\u3081\u308c\u3070x, y\u304c\u6c7a\u307e\u308a\u307e\u3059\u304c\u3001\u5358\u306bz\u306e\u5fc5\u8981\u306a\u7bc4\u56f2\u306b\u3064\u3044\u3066\u8abf\u3079\u308b\u3068\u300120\u5206\u304f\u3089\u3044\u304b\u304b\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u3092\u3001x + z\u304c\u5e73\u65b9\u6570\u3068\u3044\u3046\u6761\u4ef6\u3092\u5165\u308c\u3066\u8abf\u3079\u308b\u306816\u79d2\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u3053\u306e\u554f\u984c\u3082\u89e3\u3092\u5c0f\u3055\u3044\u9806\u306b\u4e26\u3079\u308b\u306e\u304c\u96e3\u3057\u3044\u306e\u3067\u3001\u5c11\u3057\u6c4e\u7528\u306e\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002 def gen_sorted_list(g, init, r): begin = 1 end = init -\u2026","type":"rich","categories":["PE","\u6570\u5b66","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"height":"190","provider_name":"Hatena Blog","blog_title":"inamori\u2019s diary","author_url":"https://blog.hatena.ne.jp/inamori/"}