{"description":"Z-algorithm \u3084 Suffix Array \u304c\u4f7f\u3048\u308b\u9762\u767d\u3044\u6587\u5b57\u5217\u691c\u7d22\u554f\u984c\uff01 \u554f\u984c\u3078\u306e\u30ea\u30f3\u30af \u554f\u984c\u6982\u8981 \u82f1\u5c0f\u6587\u5b57\u306e\u307f\u304b\u3089\u306a\u308b\u9577\u3055 \u306e\u6587\u5b57\u5217 \u304c\u4e0e\u3048\u3089\u308c\u308b\u3002\u6b21\u306e\u6761\u4ef6\u3092\u6e80\u305f\u3059\u6587\u5b57\u5217 \u306e\u7d44\u304c\u4f55\u500b\u3042\u308b\u304b\u3092\u7b54\u3048\u3088\u3002 \u306f\u3044\u305a\u308c\u3082\u7a7a\u6587\u5b57\u3067\u306f\u306a\u3044 \u3067\u3042\u308b \u5236\u7d04 \u8003\u3048\u305f\u3053\u3068 \u3053\u306e\u624b\u306e\u554f\u984c\u3067\u306f\u3001\u4f55\u304b\u3092\u3046\u307e\u304f\u56fa\u5b9a\u3057\u3066\u8003\u3048\u308b\u3053\u3068\u304c\u809d\u8981\u3060\u304c......\u8272\u3005\u8a66\u884c\u932f\u8aa4\u3057\u305f\u672b\u306b\u3001 ABC | AC \u306e\u533a\u5207\u308c\u76ee\u5168\u63a2\u7d22\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u5de6\u304b\u3089 \u500b\u306e\u6587\u5b57\u3068\u53f3\u5074\u306e \u500b\u306e\u6587\u5b57\u3068\u306b\u5206\u3051\u308b\u3053\u3068\u306b\u3059\u308b\u3002\u3053\u306e\u3068\u304d\u3001 \u306e\u5de6\u53f3\u53cd\u8ee2\u3057\u305f\u6587\u5b57\u5217\u3092 \u3068\u3057\u3066\u3001 \u6587\u5b57\u5217 \u306b\u304a\u3044\u3066\u3001S[0:] \u3068 S[i:] \u306e\u5148\u982d\u304b\u3089\u306e\u6587\u5b57\u306e\u4e00\u81f4\u306e\u9577\u3055\u3092 \u6587\u5b57\u5217 \u306b\u2026","provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2023%2F08%2F07%2F004451\" title=\"AtCoder ARC 055 C - ABCAC (2D, \u8a66\u9a13\u7ba1\u9ec4\u8272) - \u3051\u3093\u3061\u3087\u3093\u306e\u7af6\u30d7\u30ed\u7cbe\u9032\u8a18\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_url":"https://drken1215.hatenablog.com/","title":"AtCoder ARC 055 C - ABCAC (2D, \u8a66\u9a13\u7ba1\u9ec4\u8272)","blog_title":"\u3051\u3093\u3061\u3087\u3093\u306e\u7af6\u30d7\u30ed\u7cbe\u9032\u8a18\u9332","width":"100%","categories":["AtCoder","\u65e7ARC-C","\u9ec4\u8272diff","\u6587\u5b57\u5217","\u6587\u5b57\u5217\u691c\u7d22\u554f\u984c","Z\u6cd5","SuffixArray","\u8003\u5bdf\uff1a\u4e00\u90e8\u306e\u5909\u6570\u3092\u56fa\u5b9a\u3057\u3066\u8003\u3048\u308b","\u6570\u3048\u4e0a\u3052\u554f\u984c","\u89e3\u7a7a\u9593:O(N^2)\u901a\u308a\u306e\u9078\u629e\u80a2","\u533a\u9593\u306e\u4ea4\u5dee","NoviSteps2D"],"author_name":"drken1215","provider_name":"Hatena Blog","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/80936665/1687765056723440","version":"1.0","published":"2023-08-07 00:44:51","url":"https://drken1215.hatenablog.com/entry/2023/08/07/004451","author_url":"https://blog.hatena.ne.jp/drken1215/"}