<?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 - E - Codeforces これ結構好き。 問題概要 インタラクティブ問題である。 のグリッドがあり、グリッド内に蛇がいる。蛇の両端は異なるマスにあり、胴体は隣り合うマスを渡って両端を繋ぐパスとして表現される。 以下のクエリを2019回投げることが出来る。蛇の両端がどこのマスにあるか特定せよ。 グリッドの部分長方形をクエリとして指定する。返答として、蛇の胴体がその長方形の辺を横切る合計回数を得ることが出来る。 制約 解法 胴体のパターン数は膨大にあり、胴体の形を考えようとすると破滅します。両端だけ求めれば良いので、これを直接求めます。 もし指定した長方形に蛇の両端のうち片…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbetrue12.hateblo.jp%2Fentry%2F2019%2F04%2F14%2F143934&quot; title=&quot;Codeforces Round #551 E. Serval and Snake - 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://cdn-ak.f.st-hatena.com/images/fotolife/b/betrue12/20190414/20190414140330.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-04-14 14:39:34</published>
  <title>Codeforces Round #551 E. Serval and Snake</title>
  <type>rich</type>
  <url>https://betrue12.hateblo.jp/entry/2019/04/14/143934</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
