hdu1198 Farm Irrigation —— dfs or 并查集
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1198 dfs: 1 #include<cstdio>//hdu1198 dfs 2 #include<cstring> 3 4 int well[11][5] = { {1,1,1,0,0},{1,0, 阅读全文
posted @ 2017-03-03 19:59 h_z_cong 阅读(225) 评论(0) 推荐(0) 编辑