{"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F04%2F01%2F215241\" title=\"CROC 2016 - Qualification C. Hostname Aliases - mayoko\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://mayokoex.hatenablog.com/entry/2016/04/01/215241","type":"rich","blog_url":"https://mayokoex.hatenablog.com/","provider_url":"https://hatena.blog","height":"190","categories":["CodeForces"],"title":"CROC 2016 - Qualification C. Hostname Aliases","provider_name":"Hatena Blog","author_name":"mayokoex","blog_title":"mayoko\u2019s diary","published":"2016-04-01 21:52:41","description":"\u554f\u984c codeforces.com \u89e3\u6cd5 \u5404\u30db\u30b9\u30c8\u306b\u3064\u3044\u3066, \u51fa\u3066\u304f\u308b\u30d1\u30b9\u3092 sort -> erase \u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u307e\u3068\u3081\u307e\u3059\u3002\u30d1\u30b9\u306b\u3064\u3044\u3066\u306f, \u4e21\u7aef\u306b \"$\" \u3092\u631f\u3080\u3088\u3046\u306a\u5f62\u306b\u3057\u3066\u5404\u30d1\u30b9\u304c\u72ec\u7acb\u306b\u306a\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046(\u305d\u3046\u3057\u306a\u3044\u3068 \"ab\", \"cd\" \u3063\u3066\u3044\u3046\u306e\u3068 \"abc\", \"d\" \u3063\u3066\u3044\u3046\u30d1\u30b9\u3092\u533a\u5225\u51fa\u6765\u306a\u3044)\u3002\u3067, RollingHash \u306a\u3069\u3067\u30d1\u30b9\u306e\u60c5\u5831\u3092\u5727\u7e2e\u3057\u3066\u305d\u306e\u60c5\u5831\u306b\u3064\u3044\u3066\u30bd\u30fc\u30c8\u3057\u307e\u3059\u3002\u3053\u308c\u3067\u9023\u7d9a\u3057\u305f\u8981\u7d20\u306b\u540c\u3058\u30cf\u30c3\u30b7\u30e5\u5024\u304c\u3042\u3063\u305f\u3089\u540c\u3058\u30b0\u30eb\u30fc\u30d7\u306b\u5165\u308c\u307e\u3057\u3087\u3046\u3002 struct RollingHash { static const ll mul0=10009,mul1=1\u2026","width":"100%","author_url":"https://blog.hatena.ne.jp/mayokoex/","image_url":null}