unordered_map<int,int> s;
for(auto [k,y]:s)
{
cout<<k<<' '<<y<<endl;
}
快速遍历哈希表的key值和value值
最新推荐文章于 2021-08-21 11:22:14 发布
unordered_map<int,int> s;
for(auto [k,y]:s)
{
cout<<k<<' '<<y<<endl;
}