05 2014 档案

摘要:BitMap的实现在上一篇博文中#include "BitMap.h"#include int main(){ double start = clock(); BitMap a = BitMap(9999999); freopen("E:\\phoneNum.txt","r",stdin); //... 阅读全文
posted @ 2014-05-14 10:14 Tympani 阅读(246) 评论(0) 推荐(0)
摘要:#pragma once#include #include #include using namespace std;#define BM_Max 8000000000class BitMap{public: BitMap(unsigned); ~BitMap(void); bool getBit(... 阅读全文
posted @ 2014-05-14 10:12 Tympani 阅读(578) 评论(0) 推荐(0)
摘要:import string, randomrandom_len = 7def random_str(random_len = 7): digit = list(string.digits) random.shuffle(digit) return ''.join(digit[:random_len]... 阅读全文
posted @ 2014-05-14 10:10 Tympani 阅读(1047) 评论(0) 推荐(0)