{"author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","provider_url":"https://hatena.blog","author_name":"hamayanhamayan","height":"190","image_url":null,"blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F02%2F01%2F131548\" title=\"Longest Divisor Sequence [yukicoder 979] - \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>","url":"https://blog.hamayanhamayan.com/entry/2020/02/01/131548","width":"100%","type":"rich","published":"2020-02-01 13:15:48","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"provider_name":"Hatena Blog","version":"1.0","title":"Longest Divisor Sequence [yukicoder 979]","description":"https://yukicoder.me/problems/no/979 \u524d\u63d0\u77e5\u8b58 LIS \u89e3\u8aac https://yukicoder.me/submissions/424709 LIS\u306b\u554f\u984c\u8a2d\u5b9a\u304c\u4f3c\u3066\u3044\u308b\u306e\u3067\u3001LIS\u306b\u5bc4\u305b\u305f\u611f\u3058\u3067\u8003\u3048\u3066\u307f\u308b\u3002 DP\u3063\u307d\u304f\u3084\u3063\u3066\u3044\u304f\u3002 dp[i][x] := i\u756a\u76ee\u307e\u3067\u8003\u3048\u7d42\u308f\u3063\u3066\u3044\u3066\u3001\u672b\u5c3e\u306e\u5024\u304cx\u3067\u3042\u308b\u6700\u9577\u5217\u306e\u9577\u3055 dp[i+1][x]\u306e\u66f4\u65b0\u3092\u8003\u3048\u308b\u3068\u3001\u8003\u3048\u308b\u3079\u304d\u306fdp[i][y]\uff08y\u306fx\u306e\u7d04\u6570\u3001\u304b\u3064x\u3088\u308a\u5c0f\u3055\u3044\uff09\u3067\u3042\u308b\u3002 y\u306f\u7d04\u6570\u3067\u3042\u308b\u306e\u3067\u3001\u7d04\u6570\u5217\u6319\u3057\u3066\u3082O(sqrt(x))\u3057\u304b\u304b\u304b\u3089\u306a\u3044\u3002 \u3053\u308c\u306f\u9593\u306b\u5408\u3044\u305d\u3046\u306a\u6c17\u304c\u3059\u308b\u3002 \u3042\u3068\u306f\u3001DP\u30c6\u30fc\u30d6\u30eb\u304c\u3068\u3066\u3082\u5927\u304d\u304f\u2026","blog_url":"https://blog.hamayanhamayan.com/"}