<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>negaton</author_name>
  <author_url>https://blog.hatena.ne.jp/negaton/</author_url>
  <blog_title>ねがとんのねごと</blog_title>
  <blog_url>https://negaton.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>R</anon>
    <anon>Haskell</anon>
    <anon>Project Euler</anon>
  </categories>
  <description>左右どちらから読んでも同じ値になる数を回文数という。 2桁の数の積で表される回文数のうち、最大のものは 9009 = 91 × 99 である。では、3桁の数の積で表される回文数のうち最大のものはいくらになるか。 Problem 4 - PukiWiki まぁあれです、正直に言うとRuby以外はかなり手抜きしたしR版とかめちゃくちゃ実行速度が遅いです。基本的には、3桁の数2つの組み合わせを全部取ってきて、そこから積が回文数になっているものを探すという戦略で行きました。 Ruby版だけは高速化のため並び替えたりとかしてますが、他の2言語では範囲内の全ての回文数を探してその最大の数を取っています。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnegaton.hatenadiary.org%2Fentry%2F20080928%2F1222626173&quot; title=&quot;Problem 4 - ねがとんのねごと&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>2008-09-28 03:22:53</published>
  <title>Problem 4</title>
  <type>rich</type>
  <url>https://negaton.hatenadiary.org/entry/20080928/1222626173</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
