set

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

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