
STL
文章平均质量分 52
sortmin
这个作者很懒,什么都没留下…
展开
-
string的各种操作函数
string 函数列表 函数名 描述begin 得到指向字符串开头的Iteratorend 得到指向字符串结尾的Iteratorrbegin 得到指向反向字符串开头的Iteratorrend 得到指向反向字符串结尾的Iteratorsize 得到字符串的大小length 和size函数功能相同max_size 字符串可能的最大大小capacity 在不重新分配内存的情况下,字符串可原创 2018-02-07 14:53:49 · 214 阅读 · 0 评论 -
洛谷-P1090 合并果子
P1090 合并果子题目链接:https://www.luogu.org/problemnew/show/P1090题目描述在一个果园里,多多已经将所有的果子打了下来,而且按果子的不同种类分成了不同的堆。多多决定把所有的果子合成一堆。每一次合并,多多可以把两堆果子合并到一起,消耗的体力等于两堆果子的重量之和。可...原创 2018-02-27 22:24:33 · 189 阅读 · 0 评论 -
HDU 4287 Intelligent IME hash
Intelligent IME题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=4287DescriptionWe all use cell phone today. And we must be familiar with the intelligent English input method on the cell phone. To be spe...原创 2018-06-26 02:47:17 · 260 阅读 · 0 评论