multiset
[quote=引用 1 楼 sdghchj 的回复:] for(const auto & i : a){ b.insert(i); }
for(const auto & i : a){ b.insert(i); }
这三行是什么意思啊
数据存入 set
std::vector<int> foo; foo.push_back(10); foo.push_back(20); foo.push_back(15); std::set<int> myset(foo.begin(), foo.end());
64,674
社区成员
250,490
社区内容
加载中
试试用AI创作助手写篇文章吧