{"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsasashin.hatenadiary.jp%2Fentry%2F20110923%2F1316757071\" title=\" Problem 4 - koyoweblog log\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2011-09-23 14:51:11","url":"https://sasashin.hatenadiary.jp/entry/20110923/1316757071","version":"1.0","height":"190","width":"100%","categories":["Ruby","Project Euler"],"description":"http://projecteuler.net/index.php?section=problems&id=4 \u5de6\u53f3\u3069\u3061\u3089\u304b\u3089\u8aad\u3093\u3067\u3082\u540c\u3058\u5024\u306b\u306a\u308b\u6570\u3092\u56de\u6587\u6570\u3068\u3044\u3046\u3002 2\u6841\u306e\u6570\u306e\u7a4d\u3067\u8868\u3055\u308c\u308b\u56de\u6587\u6570\u306e\u3046\u3061\u3001\u6700\u5927\u306e\u3082\u306e\u306f 9009 = 91 \u00d7 99 \u3067\u3042\u308b\u3002 \u3067\u306f\u30013\u6841\u306e\u6570\u306e\u7a4d\u3067\u8868\u3055\u308c\u308b\u56de\u6587\u6570\u306e\u3046\u3061\u6700\u5927\u306e\u3082\u306e\u306f\u3044\u304f\u3089\u306b\u306a\u308b\u304b\u3002 \u3053\u308c\u3082\u30ef\u30f3\u30e9\u30a4\u30ca\u3067\u3002Ruby \u3060\u3068\u6587\u5b57\u5217\u64cd\u4f5c\u304c\u697d\u52dd\u904e\u304e\u308b\u3002 p (100..999).inject([]){|r,i| r+(i..999).map{|j| i*j}.select{|ij| ij.to_s.reverse==ij.to_s}}.max","author_url":"https://blog.hatena.ne.jp/sasashin/","type":"rich","author_name":"sasashin","blog_title":"koyoweblog log","blog_url":"https://sasashin.hatenadiary.jp/","title":" Problem 4","provider_name":"Hatena Blog","image_url":null}