hdu 3932 Groundhog Build Home——模拟退火
摘要:
题目:http://acm.hdu.edu.cn/showproblem.php?pid=3932 注意平均值与最远的点距离为0的情况。所以初值设成-1,这样 id 就不会乱。不过设成0也可以。注意判断 pr==0 ,因为有除法。 阅读全文
posted @ 2018-10-31 22:40 Narh 阅读(132) 评论(0) 推荐(0) 编辑
posted @ 2018-10-31 22:40 Narh 阅读(132) 评论(0) 推荐(0) 编辑
posted @ 2018-10-31 22:20 Narh 阅读(253) 评论(0) 推荐(0) 编辑
posted @ 2018-10-31 22:12 Narh 阅读(0) 评论(0) 推荐(0) 编辑
posted @ 2018-10-31 21:49 Narh 阅读(0) 评论(0) 推荐(0) 编辑
posted @ 2018-10-31 16:14 Narh 阅读(349) 评论(0) 推荐(0) 编辑