<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>babcs2035</author_name>
  <author_url>https://blog.hatena.ne.jp/babcs2035/</author_url>
  <blog_title>きろく</blog_title>
  <blog_url>https://babcs2035.hateblo.jp/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
    <anon>AtCoder 800 点問題</anon>
  </categories>
  <description>問題 解法 解答 問題 atcoder.jp 解法 問題文中の操作によって，与えられる木の直径は，木の直径となっている 2 つの頂点のうち 1 つを選ぶことによって 1 減らすか，葉でない頂点を選ぶことによって 2 減らすことが出来る．よって，この問題は「木の直径を -1 か -2 していき 0 にした方の負け」と言い変えることが出来る．実験してみると，答えは木の直径を 3 で割った余りが 1 のとき Second となり，そうでないとき First となる．O(N)． 解答 atcoder.jp</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbabcs2035.hateblo.jp%2Fentry%2F2019%2F05%2F26%2F153611&quot; title=&quot;AtCoder Grand Contest 033：C - Removing Coins - きろく&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://cdn-ak.f.st-hatena.com/images/fotolife/b/babcs2035/20190526/20190526153603.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-26 15:36:11</published>
  <title>AtCoder Grand Contest 033：C - Removing Coins</title>
  <type>rich</type>
  <url>https://babcs2035.hateblo.jp/entry/2019/05/26/153611</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
