码迷,mamicode.com
首页 > 其他好文 > 详细

pair<T1, T2>

时间:2019-10-05 10:38:50      阅读:72      评论:0      收藏:0      [点我收藏+]

标签:bsp   code   style   ras   class   删除   color   erase   air   







 

set< pair<int,int> > sp;
set< pari<int,int> >::iterator it;
sp.insert( make_pair(x,y) ); //插入
it=sp.lower_bound(make_pair(x1,y1)); //最小
sp.erase(it); //删除

 

pair<T1, T2>

标签:bsp   code   style   ras   class   删除   color   erase   air   

原文地址:https://www.cnblogs.com/Shallow-dream/p/11623998.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!