模拟退火
文章平均质量分 74
大蒟蒻syk
这个作者很懒,什么都没留下…
展开
-
[BZOJ3680]吊打XXX && 模拟退火
每次随机改变当前中心坐标 然后退火 退火完成后在周围附近在搜索几次(没这个我一直过不了样例) #include#include#include#include#include#include#define PF printf#define SF scanfusing namespace std;typedef long long LL;const int MAXN = 10原创 2015-04-17 19:38:17 · 532 阅读 · 0 评论 -
[BZOJ2428] [HAOI2006]均分数据 && 模拟退火
我真是*了狗了随机数种子被卡了 我也是醉了 什么给T分段什么的 做几万次模拟退火什么的 根本想不到啊QAQ 一晚上就被这些鬼模拟退火虐过去了#include#include#include#include#include#include#define PF printf#define SF scanfusing namespace std;typedef long l原创 2015-04-17 21:29:21 · 475 阅读 · 0 评论