摘要: C.Moving Pieces 走的步数与路径无关,只与棋子的初末位置有关。并且棋子的路径不会碰撞-如果碰撞,可以理解为移动了另外的一颗棋子。因此使用费用流跑一下求出最大收益。 #include <bits/stdc++.h> using namespace std; #define maxn 30 阅读全文
posted @ 2020-10-10 17:54 Twilight_Sx 阅读(130) 评论(0) 推荐(0) 编辑