{"categories":["\u30ed\u30fc\u30ea\u30f3\u30b0\u30cf\u30c3\u30b7\u30e5","\u6587\u5b57\u5217"],"image_url":null,"height":"190","blog_title":"perogram","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperogram.hateblo.jp%2Fentry%2F2019%2F05%2F21%2F235639\" title=\"\u30ed\u30fc\u30ea\u30f3\u30b0\u30cf\u30c3\u30b7\u30e52 - perogram\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","description":"\u524d\u56de\u306e\u8aac\u660e http://perogram.hateblo.jp/entry/rolling_hash \u3053\u308c\u3067\u306f\u901a\u3089\u306a\u3044\u554f\u984c\u3082\u3042\u3063\u305f\uff08\u4e0b\u8a18\uff09 \u305d\u3053\u3067\u3001\u87fb\u672c\u306b\u306a\u3089\u3063\u3066h=264\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u66f8\u304d\u76f4\u3059\u3068AC. \u5148\u4eba\u306e\u77e5\u6075 Code // \u30ed\u30fc\u30ea\u30f3\u30b0\u30cf\u30c3\u30b7\u30e5 // h = 2^64\u306b\u3059\u308b\u3053\u3068\u3067mod\u4e0d\u8981 using ull = unsigned long long; vector<ll> rolling_hash_search(string s, string t){ vector<ll> index_list; ll SL = s.size(); ll TL = t.size(); ull b = \u2026","blog_url":"https://perogram.hateblo.jp/","width":"100%","type":"rich","author_name":"peroon","title":"\u30ed\u30fc\u30ea\u30f3\u30b0\u30cf\u30c3\u30b7\u30e52","published":"2019-05-21 23:56:39","author_url":"https://blog.hatena.ne.jp/peroon/","provider_url":"https://hatena.blog","url":"https://perogram.hateblo.jp/entry/2019/05/21/235639","provider_name":"Hatena Blog"}