{"blog_title":"mayoko\u2019s diary","title":"Codeforces Round #Pi (Div. 2) E. President and Roads","image_url":null,"type":"rich","categories":["CodeForces"],"height":"190","description":"\u6700\u521d\u306f\u3059\u304e\u3080\u3055\u3093\u306e\u89e3\u6cd5\u3060\u3051\u3092\u304a\u501f\u308a\u3059\u308b\u3064\u3082\u308a\u3060\u3063\u305f\u306e\u3067\u3059\u304c,\u3088\u304f\u308f\u304b\u3089\u306a\u3044TLE\u306b\u60a9\u307e\u3055\u308c\u305f\u306e\u3067\u7d50\u5c40\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u307e\u3067\u304a\u501f\u308a\u3057\u307e\u3057\u305f\u3002 \u554f\u984c Problem - E - Codeforces \u89e3\u6cd5 s \u304b\u3089 t \u307e\u3067\u306e\u6700\u77ed\u7d4c\u8def\u306f\u666e\u901a\u306f\u8907\u6570\u901a\u308a\u3042\u308a\u307e\u3059\u3002\u3067,\u554f\u984c\u306e\u89e3\u7b54\u3068\u3057\u3066\u306f,\u300c\u6700\u77ed\u7d4c\u8def\u3092\u901a\u308b\u969b\u3053\u306e\u8fba\u306f\u7d76\u5bfe\u4f7f\u3046\u300d\u3068\u3044\u3046\u5834\u5408\u306f \"YES\" \u3092,\u300c\u6700\u77ed\u7d4c\u8def\u3092\u901a\u308b\u969b\u3053\u306e\u8fba\u3092\u4f7f\u3046\u53ef\u80fd\u6027\u304c\u3042\u308b,\u304b\u3064\u8fba\u3092\u901a\u308b\u306e\u306b\u304b\u304b\u308b\u6642\u9593\u304c 1 \u4ee5\u4e0a\u300d\u3060\u3063\u305f\u3089 \"CAN 1\" \u3092,\u307e\u305f,\u305d\u306e\u4ed6\u306e\u5834\u5408\u306f,\u305d\u306e\u8fba\u304c u -> v \u3068\u3044\u3046\u8fba\u3067\u3042\u3063\u305f\u3068\u3057\u3066, (s \u304b\u3089 u \u307e\u3067\u306e\u8ddd\u96e2) + (u \u304b\u3089 v \u307e\u3067\u306e\u8ddd\u96e2) + (v \u2026","url":"https://mayokoex.hatenablog.com/entry/2015/08/07/102139","author_url":"https://blog.hatena.ne.jp/mayokoex/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F08%2F07%2F102139\" title=\"Codeforces Round #Pi (Div. 2) E. President and Roads - mayoko\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"mayokoex","provider_name":"Hatena Blog","blog_url":"https://mayokoex.hatenablog.com/","published":"2015-08-07 10:21:39","version":"1.0","width":"100%"}