{"url":"https://blog.hamayanhamayan.com/entry/2020/07/12/002237","type":"rich","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F07%2F12%2F002237\" title=\"Anything Goes to Zero [\u30a8\u30a4\u30b7\u30f3\u30b0 \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u30b3\u30f3\u30c6\u30b9\u30c8 2020 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>","title":"Anything Goes to Zero [\u30a8\u30a4\u30b7\u30f3\u30b0 \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u30b3\u30f3\u30c6\u30b9\u30c8 2020 D]","height":"190","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"provider_url":"https://hatena.blog","author_name":"hamayanhamayan","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","published":"2020-07-12 00:22:37","blog_url":"https://blog.hamayanhamayan.com/","version":"1.0","image_url":null,"description":"https://atcoder.jp/contests/aising2020/tasks/aising2020_d \u89e3\u8aac https://atcoder.jp/contests/aising2020/submissions/15187557 \u5b9f\u88c5\u304c\u5927\u5909\u306a\u554f\u984c\u3002 \u9806\u756a\u306b\u8003\u3048\u3066\u3044\u3053\u3046\u3002 \u64cd\u4f5c\u306e\u7279\u6027 \u4eca\u56de\u306e\u64cd\u4f5c\u3092\u898b\u3066\u307f\u308b\u3068\u3001popcount\u306e\u7d50\u679c\u306e\u6700\u5927\u5024\u306fN\u306a\u306e\u3067\u3001 1\u56de\u64cd\u4f5c\u3092\u884c\u3046\u3060\u3051\u3067N\u4ee5\u4e0b\u306e\u6570\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \u304b\u3064\u3001n\u304c[1,2*105]\u306e\u5834\u5408\u306b0\u306b\u3059\u308b\u305f\u3081\u306b\u304b\u304b\u308b\u6642\u9593\u306fDP\u304c\u3067\u304d\u308b\u306e\u3067\u3001 \u5148\u306b\u524d\u8a08\u7b97\u3057\u3066\u3057\u307e\u304a\u3046\u3002 \u4ee5\u4e0b\u306e\u914d\u5217\u3067DP\u3059\u308b\u3068\u5206\u304b\u308b\u3002 cnt[n] := n\u306b\u5bfe\u3057\u3066\u64cd\u4f5c\u3092\u884c\u3063\u305f\u3068\u2026","provider_name":"Hatena Blog"}