<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gomi-box</author_name>
  <author_url>https://blog.hatena.ne.jp/gomi-box/</author_url>
  <blog_title>毛のはえたようなもの</blog_title>
  <blog_url>https://gomi-box.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>ProjectEuler</anon>
  </categories>
  <description>上の 20 × 20 の数字のなか、赤くマークされた数字の積は 26 × 63 × 78 × 14 = 1788696 となる。 上下左右斜めのいずれかの方向で連続する4つの数字の積のうち最大のものを求めよ。 Problem 11 - PukiWiki def horizontal_max(mat) ans = mat[0][0]*mat[0][1]*mat[0][2]*mat[0][3] (0..19).each{|j| (4..19).each{|i| if mat[j][i-4] &lt; mat[j][i] tmp = mat[j][i-3]*mat[j][i-2]*mat[j][i-1]*…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgomi-box.hatenablog.com%2Fentry%2F20080824%2FPE_P11&quot; title=&quot;Problem 11 - 毛のはえたようなもの&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-08-24 00:00:00</published>
  <title>Problem 11</title>
  <type>rich</type>
  <url>https://gomi-box.hatenablog.com/entry/20080824/PE_P11</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
