<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mmxsrup</author_name>
  <author_url>https://blog.hatena.ne.jp/mmxsrup/</author_url>
  <blog_title>srupのメモ帳</blog_title>
  <blog_url>https://mmxsrup.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
    <anon>ローリングハッシュ</anon>
    <anon>文字列</anon>
  </categories>
  <description>問題 問題概要 文字列sの中に文字列cがいくつ含まれているかを求める問題。 解法 ローリングハッシュを使いました。ほぼ理解していないので、応用はきかないので要練習。文字列を比較するとき、1文字ずつ見比べいると、文字列の長さがmだとそこで、Ｏ(m)なってしまうが、ローリングハッシュを使用することで、そこをＯ(1)でできる。 わかりやすい解説スライド Rolling hash from HCPC: 北海道大学競技プログラミングサークル www.slideshare.net ミス 蟻本写経タイム。 コード #include &lt;iostream&gt; #include &lt;algorithm&gt; #inclu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F10%2F03%2F003628&quot; title=&quot;yukicoder No.430 文字列検索 - srupのメモ帳&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>2016-10-03 00:36:28</published>
  <title>yukicoder No.430 文字列検索</title>
  <type>rich</type>
  <url>https://mmxsrup.hatenablog.com/entry/2016/10/03/003628</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
