<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiro1729</author_name>
  <author_url>https://blog.hatena.ne.jp/hiro1729/</author_url>
  <blog_title>hiro1729 競プロ</blog_title>
  <blog_url>https://hiro1729.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>ABC</anon>
    <anon>ABC078</anon>
    <anon>ABC-D</anon>
    <anon>水diff</anon>
    <anon>ゲーム</anon>
    <anon>2人ゲーム</anon>
  </categories>
  <description>D - ABS $N=1$ のときは $X$ さんが $1$ 枚取るしかないため答えは $|a_1 - W|$ です。 $2 \le N$ のときは、$X$ さんが最初の操作で全てのカードを取るとスコア $|a_N - W|$ を達成できます。また、最初の操作で $N-1$ 枚のカードを取る、つまり $1$ 枚だけ残すとスコア $|a_{N-1} - a_N|$ を達成できます。$X$ さんが $2$ 枚以上残したとき、$Y$ さんが残り $1$ 枚になるまでカードを取るとスコアは $|a_{N-1} - a_N|$ となります。よって、$X$ さんがカードを $2$ 枚以上残した時、$Y$ …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiro1729.hatenablog.com%2Fentry%2F2024%2F01%2F31%2F192812&quot; title=&quot;ABC078-D 解説 - hiro1729 競プロ&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-01-31 19:28:12</published>
  <title>ABC078-D 解説</title>
  <type>rich</type>
  <url>https://hiro1729.hatenablog.com/entry/2024/01/31/192812</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
