摘要: P1402 酒店之王 把人放中间拆点即可 #include<iostream> #include<cstdio> #include<queue> #include<algorithm> #include<cmath> #include<ctime> #include<set> #include<ma 阅读全文
posted @ 2020-07-28 22:02 WeiAR 阅读(120) 评论(0) 推荐(0)
摘要: A - Going Home https://vjudge.net/contest/385979#problem 0到所有🐎,🐎到🏠,房子到cnt+1连边,其中🐎和🏠的代价为曼哈顿距离 #include<iostream> #include<cstdio> #include<queue> 阅读全文
posted @ 2020-07-28 21:44 WeiAR 阅读(156) 评论(0) 推荐(0)