{"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmmxsrup.hatenablog.com%2Fentry%2F2016%2F09%2F20%2F144332\" title=\"ABC 021 C - \u6b63\u76f4\u8005\u306e\u9ad8\u6a4b\u304f\u3093 - srup\u306e\u30e1\u30e2\u5e33\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","description":"\u554f\u984c \u554f\u984c\u6982\u8981 \u7701\u7565 \u89e3\u6cd5 bfs\u3067\u89e3\u3044\u305f\u3002\u3088\u304f\u3042\u308b\u6700\u77ed\u8ddd\u96e2\u3092\u6c42\u3081\u308b\u3068\u304d\u306b\u3084\u308b\u3001bfs\u306f\u4e00\u5ea6\u3001\u5230\u9054\u3057\u305f\u3068\u3053\u308d\u306f2\u56de\u76ee\u4ee5\u964d\u3080\u3057\u3092\u3059\u308b\u304c\u3001\u4eca\u56de\u306f\u3001\u521d\u3081\u3066\u5230\u9054\u3057\u305f\u3042\u3068\u3082\u3001\u305d\u306e\u4f4d\u7f6e\u306b\u6700\u77ed\u8ddd\u96e2\u3068\u3057\u3066\u3001\u307b\u304b\u306e\u7d4c\u8def\u304b\u3089\u5230\u9054\u3057\u3066\u6765\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u3001bfs\u3067\u521d\u3081\u306b\u5230\u9054\u3057\u305f\u3068\u304d\u306e\u6700\u77ed\u8ddd\u96e2\u3092dist\u306b\u30e1\u30e2\u3057\u3066\u304a\u304d\u3001\u305d\u308c\u3068\u540c\u3058\u30b3\u30b9\u30c8\u3067\u305d\u306e\u4f4d\u7f6e\u307e\u3067\u304f\u308b\u307b\u304b\u306e\u7d4c\u8def\u304c\u3042\u308c\u3070\u3001\u305d\u306e\u5206\u3082\u7d4c\u8def\u6570\u3068\u3057\u3066\u8ffd\u52a0\u3059\u308b\u3002 dp\u307d\u3044\u3068\u3082\u3044\u3048\u308b\u306e\u304b\uff1fcnt\u306b\u7d4c\u8def\u6570\u3092\u30e1\u30e2\u3057\u3066\u3044\u308b\u3002 \u30df\u30b9 \u306a\u3057\u3002 \u30b3\u30fc\u30c9 #include <iostream> #include <cstdio> #include <queue> #include <vecto\u2026","url":"https://mmxsrup.hatenablog.com/entry/2016/09/20/144332","published":"2016-09-20 14:43:32","image_url":null,"version":"1.0","categories":["abc","dp","bfs"],"blog_title":"srup\u306e\u30e1\u30e2\u5e33","author_name":"mmxsrup","title":"ABC 021 C - \u6b63\u76f4\u8005\u306e\u9ad8\u6a4b\u304f\u3093","type":"rich","author_url":"https://blog.hatena.ne.jp/mmxsrup/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_url":"https://mmxsrup.hatenablog.com/"}