![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字符串
文章平均质量分 76
Sylvia的三个月突击史
这个作者很懒,什么都没留下…
展开
-
HDOJ 1004Let the Balloon Rise(字符串统计)
Problem Description Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the contest i原创 2018-01-26 11:41:21 · 214 阅读 · 0 评论 -
String各种字符串
今天要刷一刷字符串的类型题,在机试中总是会涉及到,而且属于简单题,所以应该是必须要做出来的那种。最好用的就是String模板了#include<string> 下面列出来主要的几个string函数:a) =,assign() //赋以新值 b) swap() //交换两个字符串的内容 c) +=,append(),push_back() //在尾部添加字符 d) ins...原创 2018-04-01 11:12:40 · 189 阅读 · 0 评论