{"version":"1.0","blog_title":"0w1","url":"https://h0rnet.hatenablog.com/entry/2017/04/05/CSAcademy_23_B__Fast_Travel_%28_Greedy_%29","image_url":null,"author_name":"h0rnet","author_url":"https://blog.hatena.ne.jp/h0rnet/","width":"100%","height":"190","description":"Round #23 (Div. 2 only)\u984c\u610f\uff1a \u6709 N \u500b\u57ce\u5e02\uff0c\u4ee5\u5ea7\u6a19\u63cf\u8ff0\u3002\u5169\u500b\u57ce\u5e02\u4e4b\u9593\u7684\u79fb\u52d5\u7684\u6240\u9700\u6642\u9593\u662f\u66fc\u54c8\u9813\u8ddd\u96e2\u3002\u6709\u4e9b\u57ce\u5e02\u662f\u7279\u5225\u7684 ( S = 1 )\uff0c\u7279\u5225\u7684\u57ce\u5e02\u4e4b\u9593\u53ef\u4ee5\u82b1\u8cbb T \u55ae\u4f4d\u6642\u9593\u9032\u884c\u77ac\u9593\u79fb\u52d5\u3002Q \u7b46\u8a62\u554f\uff0c\u6bcf\u6b21\u554f\u5169\u500b\u57ce\u5e02\u4e4b\u9593\u6700\u5c11\u9700\u8981\u82b1\u8cbb\u7684\u79fb\u52d5\u6642\u9593\u3002\u9650\u5236\uff1a 2\u2264N\u22641000 1\u2264T\u22642000 0\u2264Q\u22641000 0\u2264x,y\u22641000 There are no two points that share the same coordinates.\u89e3\u6cd5\uff1a \u5982\u679c\u6c92\u6709\u8981\u77ac\u9593\u79fb\u52d5\uff0c\u90a3\u9ebc\u986f\u7136\u76f4\u63a5\u662f\u5169\u9ede\u7684\u66fc\u54c8\u9813\u8ddd\u96e2\u3002 \u5426\u5247\uff0c\u4e0d\u6703\u77ac\u9593\u79fb\u52d5\u8d85\u904e\u4e00\u6b21\u3002\u679a\u8209\u5169\u8005\u6700\u8fd1\u7684\u7279\u5225\u7684\u57ce\u5e02\u4f5c\u70ba\u4e2d\u7e7c\u9ede\u66f4\u65b0\u6700\u5c0f\u503c\u3002\u6642\u2026","categories":["CSAcademy","Greedy","Python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh0rnet.hatenablog.com%2Fentry%2F2017%2F04%2F05%2FCSAcademy_23_B__Fast_Travel_%2528_Greedy_%2529\" title=\"CSAcademy 23 B. Fast Travel ( Greedy ) - 0w1\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2017-04-05 13:16:30","type":"rich","provider_url":"https://hatena.blog","blog_url":"https://h0rnet.hatenablog.com/","provider_name":"Hatena Blog","title":"CSAcademy 23 B. Fast Travel ( Greedy )"}