标签:www. front 概念 opera set 注意 bool amp str
STL:
容器与迭代器的概念
重载运算符
vector:
v.size();
v.push_back();
v[i];
set:
set.insert();
set.erase();
set.begin();
set.end();指到最后一个的后一个
set.count();
set.lower_bound();
set.upper_bound();
set.size();
priority_queue:
Q.push();
Q.pop();
Q.size();
Q.top();
实现普通堆
multiset:
和set类似,删除的时候特别注意
string:
动态开空间
deque:
deq.front();
deq.back();
deq.push_front(x);
deq.pop_front();
deq.push_back(x);
deq.pop_back();
lower_bound();
upper_bound();
string:
动态开空间
重载运算符:
bool operator < (const Vergil &x) const
{
}
https://vjudge.net/problem/UVA-10815
https://www.luogu.org/problemnew/show/P3378
标签:www. front 概念 opera set 注意 bool amp str
原文地址:https://www.cnblogs.com/637w/p/10306341.html