{"version":"1.0","height":"190","description":"\u554f\u984c http://arc014.contest.atcoder.jp/tasks/arc014_4 \u8003\u3048\u305f\u4e8b \u306a\u3093\u304bRMQ(\u3060\u3063\u3051\uff1f)\u3068\u304b\u305d\u30fc\u3086\u30fc\u306e\u30c7\u30fc\u30bf\u69cb\u9020\u3092\u4f7f\u3046\u3093\u3060\u308d\u3046\u306a\u30fc\u3068\u3044\u3046\u8003\u3048\u304b\u3089\u629c\u3051\u51fa\u305b\u306a\u304f\u3066OUT\u3002\u8003\u3048\u304c\u56fa\u304f\u306a\u308b\u30fb\u8996\u91ce\u304c\u72ed\u304f\u306a\u308b\u3068\u99c4\u76ee\uff01\u3063\u3066tyokudai\u3055\u3093\u304c\u8a00\u3063\u3066\u3044\u305f\u304c\u3001\u307e\u3055\u306b\u305d\u308c\u3002 AC\u3057\u3066\u308b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30ab\u30f3\u30cb\u30f3\u30b0 optionB\u3092B,optionA\u3092A,\u898b\u3064\u3051\u305f\u5834\u6240\u3092N\u500b\u3067grep\u3092\u30aa\u30e9\u30fc\uff01\u3063\u3066\u3084\u308b\u3068\u3001\u57fa\u672c\u7684\u306b\u306f(B + A + 1) * N\u884c\u51fa\u529b\u3055\u308c\u308b\u3002 \u898b\u3064\u3051\u305f\u884c\u3092L[ i ] ( 0 \u4f8b\u3048\u3070\u3001L[m]\u3068L[m+1]\u306e\u533a\u9593\u3067\u30de\u30fc\u30b8\u304c\u8d77\u3053\u308b\u3068(B + A + 1) \u2026","published":"2013-06-17 23:57:47","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fekaing.hatenablog.com%2Fentry%2F2013%2F06%2F17%2F235747\" title=\"AtCoder Regular Contest #014 D  &quot;grep\u30de\u30b9\u30bf\u30fc&quot; - WARush\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","type":"rich","author_url":"https://blog.hatena.ne.jp/Ekaing/","author_name":"Ekaing","blog_title":"WARush","categories":[],"url":"https://ekaing.hatenablog.com/entry/2013/06/17/235747","width":"100%","provider_url":"https://hatena.blog","blog_url":"https://ekaing.hatenablog.com/","title":"AtCoder Regular Contest #014 D  \"grep\u30de\u30b9\u30bf\u30fc\""}