{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftutuz.hateblo.jp%2Fentry%2F2018%2F06%2F25%2F235501\" title=\"AtCoder Begginer Contest101 - \u6570\u5b66/\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>","url":"https://tutuz.hateblo.jp/entry/2018/06/25/235501","categories":[],"blog_url":"https://tutuz.hateblo.jp/","provider_name":"Hatena Blog","version":"1.0","image_url":null,"title":"AtCoder Begginer Contest101","blog_title":"\u6570\u5b66/\u7af6\u30d7\u30ed\u30e1\u30e2","width":"100%","height":"190","author_url":"https://blog.hatena.ne.jp/d_tutuz/","type":"rich","author_name":"d_tutuz","description":"C.Minimization(300) \u554f\u984c \u65b9\u91dd \u96d1\u8a18 D.Snuke Numbers(500) \u554f\u984c \u5236\u7d04 \u65b9\u91dd \u96d1\u8a18 C.Minimization(300) \u554f\u984c https://beta.atcoder.jp/contests/abc101/tasks/arc099_a \u65b9\u91dd \u6700\u521d\u306b1\u3092\u542b\u3093\u3060k\u500b\u7f6e\u304d\u63db\u3048\u308b\u3002\u4ee5\u964d\u306f\u6700\u521d\u306b1\u3067\u7f6e\u304d\u63db\u3048\u305f\u7bc4\u56f2\u306e1\u3064\u306e\u6570\u3068\u305d\u306e\u4ed6k-1\u500b\u305a\u3064\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002k-1\u500b\u7f6e\u304d\u63db\u3048\u308b\u56de\u6570\u3092m\u3068\u3059\u308b\u3068\u3001 k + m(k-1) >= n \u21d4m >= (n-k)/(k-1) \u304c\u6210\u308a\u7acb\u3064\u306e\u3067\u3001\u3053\u308c\u3092\u6e80\u305f\u3059\u6700\u5c0f\u306e\u6b63\u306e\u6574\u6570 m \u306f m = ceil( (n-k)/(k-1\u2026","published":"2018-06-25 23:55:01","provider_url":"https://hatena.blog"}