{"description":"\u554f\u984c\u6587\u3068\u5165\u51fa\u529b \u524d\u63d0\u77e5\u8b58 01-BFS \u89e3\u8aac \u4eca\u56de\u306e\u554f\u984c\u306f\u3001 damage(sx, sy, tx, ty) := \u5ea7\u6a19(sx,sy)\u304b\u3089\u5ea7\u6a19(tx, ty)\u3078\u79fb\u308b\u305f\u3081\u306e\u6700\u5c0f\u30c0\u30e1\u30fc\u30b8 \u3068\u3057\u3066\u3001damage(X[0], Y[0], X[1], Y[1]) + damage(X[1], Y[1], X[2], Y[2]) + ...\u3092\u3057\u3066\u3044\u3051\u3070\u3044\u3044\u3002 damage\u95a2\u6570\u306e\u4e2d\u8eab\u306f\u3001\u6700\u77ed\u7d4c\u8def\u554f\u984c\u3092\u89e3\u304f\u3053\u3068\u306b\u306a\u308b\u3002 \u79fb\u52d5\u5148\u304c\u6bd2\u3067\u3042\u308c\u3070\u30b3\u30b9\u30c81, \u79fb\u52d5\u5148\u304c\u6bd2\u3067\u306a\u3044\u306a\u3089\u30b3\u30b9\u30c80\u306e\u6700\u77ed\u7d4c\u8def\u554f\u984c\u306a\u306e\u3067\u3001 \u3053\u308c\u306f01-BFS\u3067\u3042\u308b\u3002 01-BFS\u306fO(\u72b6\u614b\u6570)\u3067\u8a08\u7b97\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u3053\u308c\u3067\u89e3\u3053\u3046\u3002 ICPC\u306f\u5b9f\u884c\u6642\u9593\u306b\u305d\u2026","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","author_name":"hamayanhamayan","width":"100%","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"provider_name":"Hatena Blog","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","published":"2019-07-02 06:43:30","blog_url":"https://blog.hamayanhamayan.com/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F07%2F02%2F064330\" title=\"\u6bd2\u306e\u6cbc\u5730 [ICPC JAG \u6a21\u64ec\u56fd\u5185\u4e88\u9078 2019 B] - \u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","url":"https://blog.hamayanhamayan.com/entry/2019/07/02/064330","height":"190","image_url":null,"title":"\u6bd2\u306e\u6cbc\u5730 [ICPC JAG \u6a21\u64ec\u56fd\u5185\u4e88\u9078 2019 B]","version":"1.0"}