HDU4712+随机算法
摘要:
随机算法求n个20位的2进制串的MinDist。Dist:两个串的异或结果中1的个数/*随机算法*/#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;typedef long long int64;//typedef __int64 int64;typedef pair PII;#define MP(a,b) make_pair((a),(b)) const int inf = 0x3f3f3f3f;const double pi 阅读全文
posted @ 2013-09-13 20:59 新一 阅读(225) 评论(0) 推荐(0)
浙公网安备 33010602011771号