<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JunKobayashi</author_name>
  <author_url>https://blog.hatena.ne.jp/JunKobayashi/</author_url>
  <blog_title>JunKobayashi's Diary</blog_title>
  <blog_url>https://junkobayashi.hatenablog.com/</blog_url>
  <categories>
    <anon>動的計画法</anon>
  </categories>
  <description>↓問題のページ↓ AtCoder Regular Contest 122 A - Many Formulae ※本記事は0-indexedを前提として記載する。 結論を先に述べると、動的計画法によって解く（今回のように「2つの値のうちどちらかを選択する」という操作を繰り返すことによって状態遷移する構造の場合には有効な場合が多そうな印象を受ける）。 下準備として、条件を満たすような数式が何通り存在するのかを考える。とりあえず\(N=5\)の場合で考えてみる。\(A_0\)の直前までに現れる演算子を決めた数式は、\begin{align} A_0 \end{align}の1通りである。\(A_1\…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjunkobayashi.hatenablog.com%2Fentry%2F2024%2F07%2F06%2F031124&quot; title=&quot;ARC122 A問題 - JunKobayashi&amp;#39;s Diary&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>2024-07-06 03:11:24</published>
  <title>ARC122 A問題</title>
  <type>rich</type>
  <url>https://junkobayashi.hatenablog.com/entry/2024/07/06/031124</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
