{"author_name":"d_tutuz","published":"2018-07-28 13:49:44","version":"1.0","height":"190","title":"ARC054-B\uff1a\u30e0\u30fc\u30a2\u306e\u6cd5\u5247","blog_url":"https://tutuz.hateblo.jp/","categories":["\u4e09\u5206\u63a2\u7d22"],"author_url":"https://blog.hatena.ne.jp/d_tutuz/","url":"https://tutuz.hateblo.jp/entry/2018/07/28/134944","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_title":"\u6570\u5b66/\u7af6\u30d7\u30ed\u30e1\u30e2","description":"54.ARC054-B:\u30e0\u30fc\u30a2\u306e\u6cd5\u5247 \u554f\u984c https://beta.atcoder.jp/contests/arc054/tasks/arc054_b \u4eca\u3001\u3042\u308b\u95a2\u6570\u306e\u8a08\u7b97\u306b p \u5e74\u304b\u304b\u308b\u51e6\u7406\u304c\u3042\u308b\u3002x \u5e74\u5f8c\u306f\u51e6\u7406\u901f\u5ea6\u304c\u4eca\u306e 2x/1.5 \u500d\u306b\u306a\u308b\u3068\u304d\u3001\u8a08\u7b97\u304c\u7d42\u308f\u308b\u6700\u77ed\u6642\u9593\u3092\u6c42\u3081\u3088\u3002 \u8003\u3048\u65b9 \u5168\u4f53\u306e\u4ed5\u4e8b\u91cf\u3092 1 \u3068\u3057\u3066\u4eca\u306e\u51e6\u7406\u901f\u5ea6\u306f 1/p \u3068\u3057\u3066\u3088\u3044\u3002\u3088\u3063\u3066 x \u5e74\u5f8c\u306b\u306f\u51e6\u7406\u901f\u5ea6\u304c (1/p) * 2x/1.5 \u306b\u306a\u308b\u306e\u3067\u8a08\u7b97\u306b\u304b\u304b\u308b\u6642\u9593\u306f f(x) = x + (1/p) * 2x/1.5 \u21d4 f(x) = x + p * 2-x/1.5 \u3068\u306a\u308b\u3002x \u306b\u5024\u3092\u4ee3\u5165\u3057\u305f\u6642\u30aa\u30fc\u30d0\u30d5\u30ed\u30fc\u306b\u6ce8\u610f\u3059\u308b\u2026","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftutuz.hateblo.jp%2Fentry%2F2018%2F07%2F28%2F134944\" title=\"ARC054-B\uff1a\u30e0\u30fc\u30a2\u306e\u6cd5\u5247 - \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>","image_url":null,"type":"rich"}