<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chankilu23</author_name>
  <author_url>https://blog.hatena.ne.jp/chankilu23/</author_url>
  <blog_title>競プロがんばりたい</blog_title>
  <blog_url>https://chankilu23.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>ABC140-D &quot;Face Produces Unhappiness&quot; 普段見ないかんじの問題でだいぶ苦戦しました． 提出コード atcoder.jp 考察 まず一番大事なのは，を指定して操作を行ったとき，両端を除く人の内部では幸福な人の数は変わらないという点です． 両端を除けば自分の目の前にいた人と自分の向きが同じか違うかというのは操作後でも保たれるためです． つまり，1回の操作では高々2人までしか幸福な人は増えません． そこで，次のように連続する'L'または'R'の区切りを考えます． LLRLRLLRRRRL LL / R / L / R / LL / RRRR / L このように区切り…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchankilu23.hatenadiary.com%2Fentry%2F2020%2F12%2F09%2F221424&quot; title=&quot;Face Produces Unhappiness - 競プロがんばりたい&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>2020-12-09 22:14:24</published>
  <title>Face Produces Unhappiness</title>
  <type>rich</type>
  <url>https://chankilu23.hatenadiary.com/entry/2020/12/09/221424</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
