set

set
set<int>s;
s.count(a);判断是否在集合里
s.insert(a);插入a

posted @ 2017-10-20 11:47  WeiAR  阅读(91)  评论(0)    收藏  举报