<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>AT274</author_name>
  <author_url>https://blog.hatena.ne.jp/AT274/</author_url>
  <blog_title>あっとのTECH LOG</blog_title>
  <blog_url>https://at274.hatenablog.com/</blog_url>
  <categories>
    <anon>競プロ</anon>
  </categories>
  <description>問題原文 atcoder.jp 解法 とりあえず、消せる時は消してしまうのが最も得をしそうなのは明らか。 問題は消せない時。（例えば、 RG と詰めている時に、 B がきた時） これは、 R、 G のうち片方が次きても消せなくなるのと同じなので、 R、G のうち「より早くくる方が消せるように」B を詰めるのが最適。 〜〜〜〜〜〜〜〜〜〜 ここまでが自分の解法 〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜 もっと賢い人がたくさんいた。 RG とある時に B がきた場合、みるのは次の一手だけで大丈夫 → 次が B なら 今の B は無視してよいし、 B でないなら R か G であるから 答えは奇数個…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fat274.hatenablog.com%2Fentry%2F2020%2F05%2F26%2F212119&quot; title=&quot;ARC014 C - 魂の還る場所 - あっとのTECH LOG&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://chart.apis.google.com/chart?cht=tx&amp;chl=%20%201%20%5Cleq%20N%20%5Cleq%2010%5E%7B5%7D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-26 21:21:19</published>
  <title>ARC014 C - 魂の還る場所</title>
  <type>rich</type>
  <url>https://at274.hatenablog.com/entry/2020/05/26/212119</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
