<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sasashin</author_name>
  <author_url>https://blog.hatena.ne.jp/sasashin/</author_url>
  <blog_title>koyoweblog log</blog_title>
  <blog_url>https://sasashin.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Project Euler</anon>
  </categories>
  <description>http://projecteuler.net/index.php?section=problems&amp;id=4 左右どちらから読んでも同じ値になる数を回文数という。 2桁の数の積で表される回文数のうち、最大のものは 9009 = 91 × 99 である。 では、3桁の数の積で表される回文数のうち最大のものはいくらになるか。 これもワンライナで。Ruby だと文字列操作が楽勝過ぎる。 p (100..999).inject([]){|r,i| r+(i..999).map{|j| i*j}.select{|ij| ij.to_s.reverse==ij.to_s}}.max</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsasashin.hatenadiary.jp%2Fentry%2F20110923%2F1316757071&quot; title=&quot; Problem 4 - koyoweblog log&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-09-23 14:51:11</published>
  <title> Problem 4</title>
  <type>rich</type>
  <url>https://sasashin.hatenadiary.jp/entry/20110923/1316757071</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
