摘要:
#include <iostream>#include <algorithm>#include <deque>#include <vector>#include <functional>#include <iterator> using namespace std; int main(){ dequ 阅读全文
posted @ 2019-06-12 21:32
西北逍遥
阅读(268)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <deque>#include <vector>#include <functional>#include <iterator> using namespace std; int main(){ dequ 阅读全文
posted @ 2019-06-12 21:29
西北逍遥
阅读(442)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <deque>#include <vector>#include <functional>#include <iterator> using namespace std; int main(){ dequ 阅读全文
posted @ 2019-06-12 21:26
西北逍遥
阅读(439)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <deque> using namespace std; int main(){ deque<int> deq1; deque<int>::iterator deq_iter1; for (int k=0 阅读全文
posted @ 2019-06-12 21:20
西北逍遥
阅读(380)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <deque>#include <vector>#include <functional>#include <iterator> using namespace std; int main(){ dequ 阅读全文
posted @ 2019-06-12 21:15
西北逍遥
阅读(205)
评论(0)
推荐(0)
摘要:
vector<int>::iterator iter1 = partial_sort_copy(deq1.begin(), deq1.end(), vec1.begin(), vec1.end()); 阅读全文
posted @ 2019-06-12 21:13
西北逍遥
阅读(145)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <deque>#include <algorithm>#include <vector>#include <functional> using namespace std; int main(){ deque<int> deq1; deque< 阅读全文
posted @ 2019-06-12 21:10
西北逍遥
阅读(210)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <deque>#include <algorithm>#include <vector> using namespace std; int main(){ deque<int> deq1; deque<int>::iterator deq_it 阅读全文
posted @ 2019-06-12 21:08
西北逍遥
阅读(310)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <deque>#include <algorithm>#include <vector> using namespace std; int main(){ deque<int> deq1; deque<int>::iterator deq_it 阅读全文
posted @ 2019-06-12 21:02
西北逍遥
阅读(629)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <deque>#include <algorithm>#include <functional> using namespace std; int main(){ deque<int> deque1; for (int k=0;k<15;k++ 阅读全文
posted @ 2019-06-12 20:44
西北逍遥
阅读(251)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <vector> using namespace std; int main(){ vector<int> vec1; for (int k=0;k<5;k++) { vec1.push_back(ran 阅读全文
posted @ 2019-06-12 20:03
西北逍遥
阅读(236)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <vector>#include <iterator> using namespace std; int main(){ vector<int> vec1; for (int k=0;k<10;k++) 阅读全文
posted @ 2019-06-12 19:37
西北逍遥
阅读(446)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <list>#include <iterator>#include <functional> using namespace std; int main(){ int source[] = { 1,2,3 阅读全文
posted @ 2019-06-12 19:18
西北逍遥
阅读(371)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <list>#include <vector>#include <functional> using namespace std; int main(){ list<int> list1; for (in 阅读全文
posted @ 2019-06-12 17:14
西北逍遥
阅读(372)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <list>#include <algorithm>#include <iterator>#include <functional> using namespace std; int main(){ list<int> list1; list< 阅读全文
posted @ 2019-06-12 16:37
西北逍遥
阅读(344)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <algorithm>#include <vector>#include <list>#include <string>#include <functional>#include<iterator> using namespace std; i 阅读全文
posted @ 2019-06-12 16:08
西北逍遥
阅读(206)
评论(0)
推荐(0)
摘要:
#include <iostream>#include <vector>#include <deque>#include <algorithm> using namespace std; int main(){ vector<int> vec1; deque<int> deq1; for (int 阅读全文
posted @ 2019-06-12 12:44
西北逍遥
阅读(336)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<vector>#include <list>#include <algorithm>#include <functional> using namespace std; //不需拷贝,速度快void square(int &elementPara 阅读全文
posted @ 2019-06-12 10:44
西北逍遥
阅读(301)
评论(0)
推荐(0)
摘要:
list<char>::iterator pos; 一般使用前置式递增(preincrement),因为它比后置式递增(postincrement)效率高,因为后置式递增内部需要一个临时对象,因为它必须存放迭代器原来的位置并返回之。 阅读全文
posted @ 2019-06-12 10:22
西北逍遥
阅读(736)
评论(0)
推荐(0)
摘要:
#include<iostream>#include<vector>#include <list>#include <algorithm>#include <functional> using namespace std; int main(){ vector<int> vec1; list<int 阅读全文
posted @ 2019-06-12 09:52
西北逍遥
阅读(437)
评论(0)
推荐(0)

浙公网安备 33010602011771号