{"version":"1.0","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaitop.hatenadiary.jp%2Fentry%2F2023%2F07%2F03%2F182405\" title=\"ABC-G - Increasing K Times - \u30d0\u30a4\u30c8\u306e\u7af6\u30d7\u30ed\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u30d0\u30a4\u30c8\u306e\u7af6\u30d7\u30ed\u30e1\u30e2","width":"100%","height":"190","author_url":"https://blog.hatena.ne.jp/baitop/","url":"https://baitop.hatenadiary.jp/entry/2023/07/03/182405","image_url":null,"title":"ABC-G - Increasing K Times","blog_url":"https://baitop.hatenadiary.jp/","type":"rich","published":"2023-07-03 18:24:05","provider_name":"Hatena Blog","categories":["\u9806\u5217","\u6570\u3048\u4e0a\u3052","\u633f\u5165dp"],"description":"G - Increasing K Times \u30e1\u30e2 \u554f\u984c\u306e\u5f62\u304b\u3089T - Permutation\u3092\u9023\u60f3\u3057 dp[i][k] := i\u500b\u7f6e\u3044\u305f\u3068\u304d\u306b\u3001\u524d\u56de\u7f6e\u3044\u305f\u6570\u3088\u308a\u3082\u5927\u304d\u3044\u6570\u304c\u4f55\u500b\u6b8b\u3063\u3066\u3044\u308b\u304b \u3068\u3057\u3066\u9077\u79fb\u3057\u3088\u3046\u3068\u3057\u305f\u304c\u3046\u307e\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u3002 O(N^3)\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f permutation\u306e\u5834\u5408\u306f\u3001\u5404i\u306b\u3064\u3044\u3066\u5927\u5c0f\u95a2\u4fc2\u304c\u521d\u3081\u304b\u3089\u6c7a\u307e\u3063\u3066\u3044\u308b\u306e\u3067\u633f\u5165\u304c\u51fa\u6765\u306a\u304b\u3063\u305f\u304c\u3001\u4eca\u56de\u306e\u5834\u5408\u306f\u633f\u5165\u304c\u52b9\u679c\u7684\u3060\u3063\u305f\u3002 \u5c0f\u3055\u3044\u9806\u306b\u898b\u308b\u3053\u3068\u3067\u3001\u5927\u5c0f\u95a2\u4fc2\u306e\u5236\u7d04\u3092\u89e3\u6c7a\u3067\u304d\u308b\u306e\u306f\u983b\u51fa\u306a\u306e\u3067\u982d\u306b\u7f6e\u3044\u3066\u304a\u304d\u305f\u3044 \u4f8b D - Sum of SCC","author_name":"baitop"}