<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>itstaffing</author_name>
  <author_url>https://blog.hatena.ne.jp/itstaffing/</author_url>
  <blog_title>itstaffing エンジニアスタイル</blog_title>
  <blog_url>https://www.r-staffing.co.jp/engineer/</blog_url>
  <categories>
    <anon>エンジニアへの挑戦状</anon>
    <anon>アルゴリズム</anon>
  </categories>
  <description>この記事は、「【問題】ピラミッドパズルに挑戦！アルゴリズム思考力の腕試し」の解答・解説です。まだ問題を解いていない方は、以下よりご覧ください。 この問題は、大きな問題を小さな問題に分解して、小さな問題から順に解いていくというアプローチ（動的計画法）で解くことができます。 それでは、「正解」と、アドバンスト問題の解答例「C++で実装したコード」を発表します！ 解答 正解は29です。下の図の経路が最適解です。 みなさんは正答できたでしょうか。 できた方は、なぜこの経路が最適なのか、その理由まで考えてみましょう。できなかった方は、これから解説する考え方をぜひ習得してください。 解説 それでは、解説を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.r-staffing.co.jp%2Fengineer%2Fentry%2F20250117_1&quot; title=&quot;【解説】ピラミッドパズルに挑戦！アルゴリズム思考力の腕試し - itstaffing エンジニアスタイル&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>https://cdn-ak.f.st-hatena.com/images/fotolife/i/itstaffing/20250116/20250116091139.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-01-17 08:00:00</published>
  <title>【解説】ピラミッドパズルに挑戦！アルゴリズム思考力の腕試し</title>
  <type>rich</type>
  <url>https://www.r-staffing.co.jp/engineer/entry/20250117_1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
