{"description":"\u554f\u984c Problem - E - CodeforcesN \u500b\u306e\u9802\u70b9\u304b\u3089\u306a\u308b\u6728\u304c\u3042\u308b\u30022K\u500b\u306e\u5927\u5b66\u304c\u3042\u308a\u3001\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u9802\u70b9\u4e0a\u306b\u3042\u308b\u3002K\u500b\u306e\u30da\u30a2\u3092\u4f5c\u3063\u3066\u30da\u30a2\u5185\u306e\u54042\u9802\u70b9\u306e\u8ddd\u96e2\u306e\u5408\u8a08\u3092\u6700\u5927\u5316\u305b\u3088\u3002 \u89e3\u6cd5 \u3042\u308b\u8fba\u3092\u898b\u305f\u6642\u3001\u30da\u30a2\u306e\u4e21\u7aef\u304c\u305d\u308c\u305e\u308c\u8fba\u306e\u53cd\u5bfe\u5074\u306b\u3042\u308b\u65b9\u304c\u826f\u3044\u3002\u3053\u306e\u8003\u3048\u306b\u57fa\u3065\u3044\u3066\u3001\u9802\u70b9 v \u3068 p \u3092\u7d50\u3076\u8fba\u3092\u898b\u305f\u6642\u306b\u3001v \u5074\u306b d \u500b\u306e\u5927\u5b66\u3001p \u5074\u306b u \u500b\u306e\u5927\u5b66\u304c\u3042\u308b\u3068\u3059\u308b\u3068\u3001\u5404\u30da\u30a2\u306e\u7247\u65b9\u306e\u5927\u5b66\u306f d \u500b\u306e\u4e2d\u306b\u3001\u3082\u3046\u7247\u65b9\u306e\u5927\u5b66\u306f u \u3053\u306e\u4e2d\u306b\u3001\u51fa\u6765\u308b\u3060\u3051\u542b\u307e\u308c\u3066\u3044\u308b\u65b9\u304c\u826f\u3044\u3002\u3088\u3063\u3066\u8fba v-p \u3092\u898b\u305f\u6642\u3001min(d, u) \u500b\u306e\u30da\u30a2\u306e\u4e21\u7aef\u304c\u3001\u305d\u308c\u305e\u308c v \u5074\u3068 p \u5074\u306b\u3042\u308b\u3088\u3046\u306b\u3059\u308b\u3002\u3059\u308b\u3068\u8fba\u2026","height":"190","type":"rich","author_name":"kenkoooo","author_url":"https://blog.hatena.ne.jp/kenkoooo/","published":"2016-07-23 04:34:06","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","Codeforces"],"title":"Codeforces Round #364 Div2 E. Connecting Universities","blog_url":"https://kenkoooo.hatenablog.com/","url":"https://kenkoooo.hatenablog.com/entry/2016/07/23/043406","image_url":null,"blog_title":"\u5b87\u5b99\u30c4\u30a4\u30c3\u30bf\u30e9\u30fcX\u306e\u6182\u9b31","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkenkoooo.hatenablog.com%2Fentry%2F2016%2F07%2F23%2F043406\" title=\"Codeforces Round #364 Div2 E. Connecting Universities - \u5b87\u5b99\u30c4\u30a4\u30c3\u30bf\u30e9\u30fcX\u306e\u6182\u9b31\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","version":"1.0","width":"100%"}