<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>betrue12</author_name>
  <author_url>https://blog.hatena.ne.jp/betrue12/</author_url>
  <blog_title>ARMERIA</blog_title>
  <blog_url>https://betrue12.hateblo.jp/</blog_url>
  <categories>
    <anon>Codeforces</anon>
    <anon>プログラミング</anon>
    <anon>競技プログラミング</anon>
  </categories>
  <description>お題箱より。 Problem - C - Codeforces 問題概要 頂点の木が与えられる。この木の辺に の値を1つずつ割り振ることを考える。 異なる2頂点 に対して を「 間パスに含まれる辺の値として登場しない最小の非負整数」と定義する。そして値の割り振り方のスコア を と定義する。 の最大値を求めよ。 制約 与えられるグラフは木である 解法 スコア は、以下の値を全て合計したものとして計算できます。 パスに を含む2頂点のペアの個数 パスに を含む2頂点のペアの個数 パスに を含む2頂点のペアの個数 .... なぜなら がある値 である必要十分条件は、 間のパスに が全て含まれていてか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbetrue12.hateblo.jp%2Fentry%2F2020%2F05%2F02%2F150329&quot; title=&quot;Codeforces Round #614 (Div. 1) C. Xenon&amp;#39;s Attack on the Gangs - ARMERIA&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://chart.apis.google.com/chart?cht=tx&amp;chl=%20n</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-02 15:03:29</published>
  <title>Codeforces Round #614 (Div. 1) C. Xenon's Attack on the Gangs</title>
  <type>rich</type>
  <url>https://betrue12.hateblo.jp/entry/2020/05/02/150329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
