<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://yukicoder.me/problems/no/994 解説 https://yukicoder.me/submissions/433013 N頂点に最大個数コインを置くとN枚になる。 これ以上コインがあった場合は1枚ずつにすることはできない。 よって、N&lt;Kであれば答えは-1となる。 それ以外であれば、操作を行うことで実現可能。 実際の実現方法は聞かれておらず、最短回数だけ聞かれているが、 この答えはグラフの形によらず、K-1回となる。 理想状態にするには、K頂点にコインを置けばいいことになるが、 最初は1頂点にコインがあり、1操作につきコインがある頂点を1つ増やすことがで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F02%2F22%2F160243&quot; title=&quot;ばらばらコイン [yukicoder 994] - はまやんはまやんはまやん&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-02-22 16:02:43</published>
  <title>ばらばらコイン [yukicoder 994]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/02/22/160243</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
