<?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>AtCoder</anon>
    <anon>プログラミング</anon>
    <anon>競技プログラミング</anon>
  </categories>
  <description>オープンコンテスト8位でした。 A～Fについて書きます。この記事を書いている時点で解説が公開されていないため、Twitterなどで見た他の参加者さんの解法を大いに参考にしながら書いています。 A - 2540 A - 2540 解法 長さが と の2本の辺で、ちょうど1つの端点を共有するペアを数えればよいです。ただし、重複しないように注意する必要があります。 私の方針は以下です。 頂点 と辺の長さ ごとに、「頂点 から伸びている長さ の辺の本数」をmapで管理する。 辺を1本ずつ見ていく。そのとき、 その辺の端点それぞれについて、その時点でのmapを使ってこれ以前に見た辺のうちペアになるものの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbetrue12.hateblo.jp%2Fentry%2F2018%2F11%2F19%2F205052&quot; title=&quot;CODE FESTIVAL 2018 Final (Parallel)　参加記録＆解説（A～F） - 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://cdn-ak.f.st-hatena.com/images/fotolife/b/betrue12/20181119/20181119194955.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-19 20:50:52</published>
  <title>CODE FESTIVAL 2018 Final (Parallel)　参加記録＆解説（A～F）</title>
  <type>rich</type>
  <url>https://betrue12.hateblo.jp/entry/2018/11/19/205052</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
