摘要:
题目链接 Haywire 分析 模拟退火裸题,交了 $4$ 次 \(Code\) #include<cstdio> #include<algorithm> #include<cmath> using namespace std; int n , a[15][5] , pos[15] , tmp[15 阅读全文
摘要:
题目 请前往 [JSOI2004]平衡点 分析 随机算法 为何不模拟退火呢? 于是(其实目前我不懂怎么判断平不平衡) 能量越小系统越平衡 \(Code\) #include<cstdio> #include<algorithm> #include<cmath> using namespace std 阅读全文