雕刻时光

just do it……nothing impossible
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年11月2日

摘要: A gas station has to be built at such a location that the minimum distance between the station and any of the residential housing is as far away as possible.考试的时候这句话意思没有完全理解,悲剧鸟。。。其实就是让你找一个加油站,它到所有房子最短距离为len , 找一个加油站len的距离越大越好加油站最多10个,以这几个加油站为原点,做dijk最短路即可#includeint map[1099][1099];const int MAX=49 阅读全文

posted @ 2013-11-02 20:11 huhuuu 阅读(564) 评论(0) 推荐(0) 编辑