BZOJ 3680: 吊打XXX // Luogu [JSOI2004]平衡点 / 吊打XXX (模拟退火)
第一次写模拟退火…
这是在BZOJ上过了的(在luogu上会WA)
CODE1
#include<bits/stdc++.h>
using namespace std;
inline void read(int &num) {
char ch; int flg = 1; while(!isdigit(ch=getchar()))if(ch=='-')flg = -flg...
原创
2019-04-05 11:22:40 ·
138 阅读 ·
0 评论