<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>面白かったので考察をメモしておこうかなと思いました。 B - Colorful Hats 考察 こういう問題は必要十分条件を考えるのが定石だろうと思います。 とりあえず考察として, 「数字は x か x+1 に絞られる」というのはちょっと考えてわかりましたが, それ以外は特に検討がつかないのでとりあえず実験してみます。N 実験してる間に気づいた一般的なことは, 「長さ N に対して, 全員が x 種類と主張する場合には, x 「単純な例から初めて決まった動きをさせると解が構成できる」みたいな方法もできるかなと思いました。 今回の場合は, それぞれの人の帽子の色を始めに固定しておいて, そこから…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2018%2F05%2F31%2F104216&quot; title=&quot;AGC016 B: Colorful Hats - mayoko’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>2018-05-31 10:42:16</published>
  <title>AGC016 B: Colorful Hats</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2018/05/31/104216</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
