<?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 - F - Codeforces ※解説の都合上、マスに書かれている整数を「色」と表現することにします。記号も だし。 問題概要 のマスからなる盤面があり、各マスには色が塗られている。このマスそれぞれを頂点とし、隣り合うマスの色が等しいときにその間に辺を張るようなグラフを考える。 色は整数として表現され、全てのマスには初期状態で色 が塗られている。以下のようなクエリを 個処理せよ。 番目のクエリは整数 で特徴付けられる。マス の色を に変更し、その後グラフの連結成分の個数を答えよ。 ここで任意の に対して である。 制約 解法 連結成分の管理と言えばUnion-Findですが、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbetrue12.hateblo.jp%2Fentry%2F2020%2F02%2F13%2F224143&quot; title=&quot;Educational Codeforces Round 82 F. Number of Components - 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=%20c</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-13 22:41:43</published>
  <title>Educational Codeforces Round 82 F. Number of Components</title>
  <type>rich</type>
  <url>https://betrue12.hateblo.jp/entry/2020/02/13/224143</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
