
STL
千杯湖底沙.
退役了。
OI就到此为止吧。
呃我又回来了
展开
-
USACO2010FEB gold ice——STL的使用
要懂的知识pairpairpair setsetset mapmapmap 迭代器 upper_boundupper_boundupper\_bound lower_boundlower_boundlower\_bound题目题目描述 Bessie 在一个冰封的湖面上游泳,湖面可以表示为二维的平面,坐标范围是-1,000,000,000..1,000,000,000。湖面上...原创 2018-03-15 19:34:28 · 423 阅读 · 5 评论 -
STL——map用法详解
map的功能mapmapmap容器的功能在于,它建立了一对一的映射关系。 例如,如果我们为了给学生编号定义了一个mapmapmap map<string,int>studentmap<string,int>studentmapstudent 那么我们可以这样建立联系student["LZY"]=1student["LZY"]=1student["LZY"]=1代表...原创 2018-03-23 13:05:00 · 1675 阅读 · 3 评论