摘要: 和HDU 3488一样的,只不过要判断一下是否有解。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 const int maxn = 1000 + 10;... 阅读全文
posted @ 2015-09-05 10:39 AOQNRMGYXLMV 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 参考题解这题注意有重边。。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 const int maxn = 200 + 10; 7 8 int n, m; 9 int W[maxn][maxn], lft[maxn]... 阅读全文
posted @ 2015-09-05 10:07 AOQNRMGYXLMV 阅读(132) 评论(0) 推荐(0) 编辑