<?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 問題概要 左側、右側それぞれに 個の頂点があり、その間に合計 本の辺が存在する二部グラフが与えられる。右側の頂点にはそれぞれ正整数 が書かれている。 左側の頂点の部分集合 について、 を「右側の頂点のうち の要素のいずれかと辺を結んでいるものについて を合計した値」と定義する。 空でない全ての に対する の最大公約数を求めよ。 制約 ※マルチテストケースですが、記載省略します 辺は全て左側の頂点と右側の頂点の間に存在し、多重辺はない 解法 まず右側の頂点それぞれについて、「どの左側の頂点と隣接しているか」を隣接リストなどの形式で求めます。これが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbetrue12.hateblo.jp%2Fentry%2F2020%2F03%2F08%2F154136&quot; title=&quot;Codeforces Round #626 (Div. 1) C. Instant Noodles - 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-03-08 15:41:36</published>
  <title>Codeforces Round #626 (Div. 1) C. Instant Noodles</title>
  <type>rich</type>
  <url>https://betrue12.hateblo.jp/entry/2020/03/08/154136</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
