<?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>AtCoder</anon>
    <anon>プログラミング</anon>
    <anon>競技プログラミング</anon>
  </categories>
  <description>E - Who Says a Pun? 解説で別解として紹介されている二分探索＋ローリングハッシュで通したので書いておきます。 解法 条件を満たす長さで二分探索 「文字列 の連続部分文字列として位置が重ならずに2回以上出現する、長さ の文字列が存在する」ということを単に「長さ は条件を満たす」と呼ぶことにします。 注目すべき性質として、もし長さ が条件を満たす場合、必ず長さ も条件を満たします。単に長さ で条件を満たしている文字列の末尾を除いた文字列を考えれば良いです。 この性質から二分探索ができるので、「長さ をある値に固定した時、それは条件を満たすか？」という判定問題が解ければ良いことにな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbetrue12.hateblo.jp%2Fentry%2F2019%2F09%2F16%2F013915&quot; title=&quot;AtCoder Beginner Contest 141 E - Who Says a Pun? - 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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-09-16 01:39:15</published>
  <title>AtCoder Beginner Contest 141 E - Who Says a Pun?</title>
  <type>rich</type>
  <url>https://betrue12.hateblo.jp/entry/2019/09/16/013915</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
