<?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/hhkb2020/tasks/hhkb2020_d 解説 https://atcoder.jp/contests/hhkb2020/submissions/17318367 色々な考察が必要で、方針もたくさん見えるような問題。 引くべき方針1「余事象」 今回は余事象を考えるとすっきりする。 つまり、赤い正方形と青い正方形が重なる方法の数を数えて全体から引くことで答えを導こう。 まず、全体の方法の数を考える。 青い正方形を置ける場所は、正方形の左下をどの座標に置くかで(N - A + 1)2通りとなる。 同様に、赤い正方形を置ける場所は、正…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F10%2F10%2F232936&quot; title=&quot;Squares [HHKB プログラミングコンテスト 2020 D] - はまやんはまやんはまやん&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-10-10 23:29:36</published>
  <title>Squares [HHKB プログラミングコンテスト 2020 D]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/10/10/232936</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
