会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
EricQian's Blog
Hoping for the best but expecting the worst.
博客园
首页
新随笔
订阅
管理
随笔分类 -
数据结构 - STL
C++STL(set……)
摘要:set 底层实现是用红黑树。 set 建立 set<int> s; // 不可重,默认升序 set<int,less> s; // 不可重,升序 set<int,greater> s; // 不可重,降序 multiset<int> s; // 可重集 set 也可以重载,利用结构体实现。 重载方式
阅读全文
posted @
2021-08-30 20:18
EricQian06
阅读(99)
评论(0)
推荐(2)
公告