{"version":"1.0","title":"VK Cup 2015 - Finals, online mirror F. Clique in the Divisibility Graph","blog_url":"https://mayokoex.hatenablog.com/","width":"100%","categories":[],"author_name":"mayokoex","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F08%2F07%2F124913\" title=\"VK Cup 2015 - Finals, online mirror F. Clique in the Divisibility Graph - mayoko\u2019s diary\" 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","height":"190","image_url":null,"description":"\"As you must know,\" \u6016\u3044\u2026 \u7df4\u7fd2\u3067\u3059\u3002 \u554f\u984c Problem - 566F - Codeforces \u89e3\u6cd5 dp[n] = (n\u3092\u7d04\u6570\u3068\u3059\u308b\u6570\u5b57\u306e\u500b\u6570)\u3068\u3057\u307e\u3059\u3002\u6570\u5217 a \u3092\u76f4\u63a5\u4f7f\u3046\u306e\u3067\u306f\u306a\u304f, b[p] = (\u6570\u5217 a \u306e\u4e2d\u306b p \u3068\u3044\u3046\u6570\u304c\u3044\u304f\u3064\u3042\u308b\u304b)\u3068\u3044\u3046\u914d\u5217\u3092\u7528\u610f\u3057\u3066\u304a\u3051\u3070, dp[n] \u306e\u8a08\u7b97\u306f, MAXN/n \u3067\u51e6\u7406\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059(MAXN \u306f\u6570\u5217 a \u306b\u5165\u308b\u6700\u5927\u306e\u6570)\u3002\u3053\u308c\u306f\u3060\u3044\u305f\u3044 \u306b\u306a\u308b\u306e\u3067\u6642\u9593\u5185\u306b\u9593\u306b\u5408\u3044\u307e\u3059\u3002 const int MAXN = 1000001; int a[MAXN]; int b[MAXN]; int dp[MAXN]; int\u2026","blog_title":"mayoko\u2019s diary","published":"2015-08-07 12:49:13","provider_url":"https://hatena.blog","url":"https://mayokoex.hatenablog.com/entry/2015/08/07/124913","author_url":"https://blog.hatena.ne.jp/mayokoex/","provider_name":"Hatena Blog"}