<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
  </categories>
  <description>すごく好きなタイプの問題です。 問題 No.321 (P,Q)-サンタと街の子供たち - yukicoder 解法 a*P + b*Q は, P と Q の最大公約数 G に関して, c*G (c は整数) という整数値すべてを取ることはよく知られています。 今回も似たようなことが出来ますが, (c*G, d*G) (c, d は整数)を満たすすべての座標にいける, と言った単純なことは成り立ちません(一番最後の入力で間違ってることに気づく)。なのでもうちょっと冷静に問題を見てみます。よく考えると, たどり着ける座標 x, y は, x = a*P + b*Q y = c*P + d*Q と書…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F12%2F15%2F080909&quot; title=&quot;yukicoder No.321 (P,Q)-サンタと街の子供たち - mayoko’s diary&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>2015-12-15 08:09:09</published>
  <title>yukicoder No.321 (P,Q)-サンタと街の子供たち</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2015/12/15/080909</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
