摘要:
1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<vector> 5 #include<algorithm> 6 7 8 /* 9 5.6 常用集合算法 10 11 5.6.1 set_interse 阅读全文
posted @ 2021-05-14 10:18
yub4by
阅读(60)
评论(0)
推荐(0)
摘要:
1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<vector> 5 #include<numeric> 6 #include<algorithm> 7 8 9 /* 10 5.5 常用算术生成算法 阅读全文
posted @ 2021-05-14 10:16
yub4by
阅读(64)
评论(0)
推荐(0)
摘要:
1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<algorithm> 5 #include<vector> 6 7 8 /* 9 5.4.2 replace 10 将容器内指定范围的旧元素修改为新元 阅读全文
posted @ 2021-05-14 09:12
yub4by
阅读(103)
评论(0)
推荐(0)
摘要:
1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<algorithm> 5 #include<vector> 6 7 8 /* 9 5.4 常用拷贝和替换算法 10 copy // 容器内指定范围的元 阅读全文
posted @ 2021-05-14 09:11
yub4by
阅读(99)
评论(0)
推荐(0)
摘要:
1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<algorithm> 5 #include<vector> 6 7 8 /* 9 5.3.3 merge 10 两个容器元素合并,并存储到另一容器中 阅读全文
posted @ 2021-05-14 09:10
yub4by
阅读(50)
评论(0)
推荐(0)
摘要:
1 #include<iostream> 2 #include<cstdlib> 3 using namespace std; 4 #include<algorithm> 5 #include<vector> 6 #include<functional> 7 #include<ctime> 8 9 阅读全文
posted @ 2021-05-14 09:09
yub4by
阅读(91)
评论(0)
推荐(0)