{"type":"rich","published":"2020-06-23 01:57:24","provider_name":"Hatena Blog","image_url":null,"blog_url":"https://multicolorworld.hatenablog.com/","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/MulticolorWorld/","author_name":"MulticolorWorld","height":"190","categories":["ABC","\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","atcoder"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmulticolorworld.hatenablog.com%2Fentry%2F2020%2F06%2F23%2F015724\" title=\"AtCoder Beginner Contest 170 D - Not Divisible - \u30b4\u30df\u7bb1\" 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":"\u30b4\u30df\u7bb1","width":"100%","description":"\u8003\u3048\u65b9 \u30a8\u30e9\u30c8\u30b9\u30c6\u30cd\u30b9\u306e\u7be9\u304c\u601d\u3044\u6d6e\u304b\u3079\u3070\u307b\u307c\u52dd\u3061\u3002\u3053\u3046\u3044\u3046\u3068\u304d\u306fAi\u304b\u3089\u8003\u3048\u304c\u3061\u3067\u306f\u3042\u308b\u304c\u3001Aj\u304b\u3089\u8003\u3048\u308b\u3068\u3088\u3044\u3002 (1 <= j <= N)\u306b\u3064\u3044\u3066\u3001Aj\u3092\u9664\u304fAj\u306e\u500d\u6570\u306f\u30c0\u30e1 \u305d\u308c\u305e\u308c\u306e\u6570\u306b\u3064\u3044\u3066\u30012\u500b\u4ee5\u4e0a\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u30c0\u30e1 \u3053\u308c\u3089\u3092\u3001\u4e0e\u3048\u3089\u308c\u305f\u6570\u5217\u306e\u5404\u8981\u7d20\u306b\u304a\u3044\u3066\u30c1\u30a7\u30c3\u30af\u3059\u308b \u3002 \u5b9f\u88c5 \u5236\u7d04\u3092\u898b\u308b\u3068Ai <= 106\u306a\u305f\u3081\u3001\u4e88\u3081BooleanArray(A_max)\u3092\u7528\u610f\u3057\u3066\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u307e\u305f\u3001\u540c\u3058\u6570\u30922\u56de\u30c1\u30a7\u30c3\u30af\u3057\u305f\u3053\u3068\u3092\u691c\u51fa\u3059\u308b\u305f\u3081\u306b\u3082\u3046\u4e00\u3064BooleanArray\u3092\u7528\u610f\u3059\u308b\u3002 val dp = BooleanArray(max + 1) { true } //1\u3064\u2026","url":"https://multicolorworld.hatenablog.com/entry/2020/06/23/015724","title":"AtCoder Beginner Contest 170 D - Not Divisible","version":"1.0"}