c++(数据类型 && set插入重复数据)
set<int> s1;
auto ret = s1.insert(10);
if (ret.second)
cout << "插入成功" << endl;
else
cout << "插入失败" << endl;
auto ret2 = s1.insert(10);
if (ret2.second)
cout << "插入成功" << endl;
else
cout << "插入失败" << endl;

set<int> s1;
auto ret = s1.insert(10);
if (ret.second)
cout << "插入成功" << endl;
else
cout << "插入失败" << endl;
auto ret2 = s1.insert(10);
if (ret2.second)
cout << "插入成功" << endl;
else
cout << "插入失败" << endl;
