摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1599floyd真的是水很深啊 各种神奇ans=min(ans,g[i][k]+g[k][j]+d[i][j]);#include#include#include#include#include#include#i... 阅读全文
posted @ 2014-08-15 00:25 sola94 阅读(116) 评论(0) 推荐(0) 编辑
摘要: DescriptionAssume the coasting is an infinite straight line.Land is in one side of coasting, sea in the other.Each small island is a point locating in... 阅读全文
posted @ 2014-08-15 00:21 sola94 阅读(127) 评论(0) 推荐(0) 编辑