文章列表
stack的常见用法
摘要:```
stack翻译为栈,是STL中实现的一个后进先出的容器
```
```
#include
using namespace std;
```
```
stack name;//……
queue 与 priority_queue的常见用法
摘要:```
queue翻译为队列,实现了一个先进先出容器
```
```
#include
using namespace std;
```
```
queue name;// 定义
`……
map与mutimap容器总结
摘要:```
map与mutimap的用法基本一样
map可以根据key的排序准则自动将元素排序
multimap允许重复元素,map不允许有重复
```
![](/image_edito……
STL---string容器
摘要:```
头文件:#include
还要在加上,using namespace std;
```
```初始化 ```
```
string str="abcd";
```
```str……
【题解】hevttc_2019_1_创译云端新生赛
摘要:- 错过比赛的同学请点进每道题的**原题链接**补题
------------
###A.Hello World
原题链接:[Hello World](https://www.dotcp……
C++中int与string的相互转换
摘要:### 一、 int转string
1. c++11标准增加了全局函数std::to_string;
###### *头文件:#include *
```cpp
int a=123;
str……
C++ 二分查找函数
摘要::bowtie: :heart_eyes: :heart_eyes: :heart_eyes:
```
#include//头文件
//标准形式
lower_bound(int* first,……