<?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://atcoder.jp/contests/acl1/tasks/acl1_a 解説 https://atcoder.jp/contests/acl1/submissions/16923085 まず、x,y座標がともに小さい街への移動と、x,y座標がともに大きい街への移動は 片方ができればもう片方もできるような移動になっている。 かつ、a-&gt;bで移動ができ、b-&gt;cで移動ができれば、a-&gt;cへの移動もできる。 つまり移動できる範囲は、グラフで考えると連結である範囲となる。 答えは連結な街の数となっている、これはUnionFindで達成できそうだ。 UnionFindで移動可能な頂点…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F09%2F21%2F020138&quot; title=&quot;Reachable Towns [ACL Contest 1 A] - はまやんはまやんはまやん&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-09-21 02:01:38</published>
  <title>Reachable Towns [ACL Contest 1 A]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/09/21/020138</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
