ZackSungy

导航

2017年6月11日 #

用vector与bitset分别创建1亿以内的素数表,比较快慢

摘要: vector容器: 代码如下: #include<iostream>#include<vector>#include<ctime>using namespace std; int main(){ int num=0; clock_t t=clock(); vector<int> p(10000000 阅读全文

posted @ 2017-06-11 16:58 ZackSungy 阅读(214) 评论(0) 推荐(0) 编辑