<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tac_12</author_name>
  <author_url>https://blog.hatena.ne.jp/tac_12/</author_url>
  <blog_title>tac_12のブログ</blog_title>
  <blog_url>https://tac-12.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>問題 木と, 各頂点で得るべき数が与えられる. 各頂点で得る数は, 隣り合う頂点で, すでに数を得た頂点の数にない数の最小値. どの順番で頂点が数を得るか求める. 解法 各頂点, 得るべき数と得る数を一致させる. 得るべき頂点. 数 x を得るべき頂点において, 得るべき数が 1, 2, ..., x-1 の頂点すべてを隣り合う頂点に持つ必要がある. 得るべき数が小さい数から見る. 隣り合う頂点で, 数 1, 2, ..., x-1 が 1 回ずつ count されていればいい. ソースコード https://codeforces.com/contest/1362/submission/827…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftac-12.hatenablog.com%2Fentry%2F2020%2F06%2F06%2F215041&quot; title=&quot;Johnny and Contribution - #647 div2 d - tac_12のブログ&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-06-06 21:50:41</published>
  <title>Johnny and Contribution - #647 div2 d</title>
  <type>rich</type>
  <url>https://tac-12.hatenablog.com/entry/2020/06/06/215041</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
