![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
stl
notmenotme
这个作者很懒,什么都没留下…
展开
-
全排列 51Nod - 1384 <algorithm> next_permutation(begin,end)
给出一个字符串S(可能有重复的字符),按照字典序从小到大,输出S包括的字符组成的所有排列。例如:S = "1312", 输出为: 1123 1132 1213 1231 1312 1321 2113 2131 2311 3112 3121 3211 Input 输入一个字符...原创 2018-10-18 19:42:30 · 108 阅读 · 0 评论 -
algorithm头文件下常用函数
algorithm下常用函数转载 2019-03-07 13:35:36 · 208 阅读 · 0 评论 -
2018蓝桥C语言B组 6.标题:递增三元组 利用<algorithm>里的lower_bound()和upper_bound()
lower_bound()和upper_bound()——#include&amp;amp;lt; algorithm&amp;amp;gt; 6.标题:递增三元组 给定三个整数数组 A = [A1, A2, … AN], B = [B1, B2, … BN], C = [C1, C2, … CN], 请你统计有多少个三元组(i, j, k) 满足: 1 &amp;amp;lt;= i, j, k &amp;amp;lt;= N原创 2019-03-07 13:55:19 · 214 阅读 · 0 评论