{"author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"url":"https://blog.hamayanhamayan.com/entry/2018/11/23/101518","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2018%2F11%2F23%2F101518\" title=\"TV Shows [Codeforces Round #523 (Div. 2) D] - \u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","height":"190","version":"1.0","title":"TV Shows [Codeforces Round #523 (Div. 2) D]","published":"2018-11-23 10:15:18","blog_url":"https://blog.hamayanhamayan.com/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","image_url":null,"type":"rich","description":"http://codeforces.com/contest/1061/problem/DN\u500b\u306e\u30c6\u30ec\u30d3\u756a\u7d44\u304c\u3042\u308b\u3002 i\u756a\u76ee\u306fL[i]\uff5eR[i]\u5206\u653e\u9001\u3057\u3066\u3044\u308b\u3002 \u6700\u521d\u306f\u30c6\u30ec\u30d3\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u304c\u3001\u30c6\u30ec\u30d31\u3064\u3092\u521d\u671f\u6295\u8cc7X\u5186\u30011\u5206\u306b\u3064\u304dY\u5186\u306e\u6599\u91d1\u3067\u501f\u308a\u3089\u308c\u308b\u3002 \u5168\u3066\u306eTV\u756a\u7d44\u3092\u898b\u308b\u305f\u3081\u306b\u30c6\u30ec\u30d3\u3092\u9069\u5207\u306b\u501f\u308a\u305f\u6642\u306e\u5024\u6bb5\u7dcf\u548c\u306e\u6700\u5c0f\u5024\u3092mod10^9+7\u3067\u7b54\u3048\u3088\u3002 \u8003\u5bdf\u904e\u7a0b 1. mod10^9+7\u3067\u7b54\u3048\u3088\u306e\u6642\u70b9\u3067dp\u3068\u304b\u3067\u6700\u5c0f\u3092\u53d6\u3063\u3066\u304f\u308b\u611f\u3058\u3058\u3083\u306a\u3044 2. \u6700\u9069\u65b9\u91dd\u304c\u3042\u308b\u306e\u3060\u308d\u3046 3. \uff08\u533a\u9593\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0\u554f\u984c\u3063\u307d\u3044\u306e\u3067\u3001R\u3067\u30bd\u30fc\u30c8\u3057\u3066\u8caa\u6b32\u306b\u306a\u306b\u304b\u3059\u308c\u3070\u3044\u3044\uff1f\uff09 4. \u7720\u304f\u3066\u5bdd\u305f 5. \u7fcc\u65e5Benq\u3055\u3093\u306e\u89e3\u6cd5\u2026","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","author_name":"hamayanhamayan"}