摘要:
DescriptionThe cows have reconstructed Farmer John's farm, with its N barns (1 #include using namespace std;const int MAXN = 160;const int INFS = 0x3fffffff;int dp[MAXN][MAXN], U[MAXN], V[MAXN];bool vis[MAXN];void treedp(int u, int vol, int n){ for (int v = 0; v = 0; --v) { int ... 阅读全文