map
map<int,int> mp;
mp[x]=y;
mp[1]=2;
for(auto[x,y] : mp) {
cout << x << " " << y << "\n";
}
mp.erase(1);
cout << mp.size() << "\n";
mp.clear();
mp.count(x) ? "yes” : “no”
/*
x y
1 2
*/
map<int,int> mp;
mp[x]=y;
mp[1]=2;
for(auto[x,y] : mp) {
cout << x << " " << y << "\n";
}
mp.erase(1);
cout << mp.size() << "\n";
mp.clear();
mp.count(x) ? "yes” : “no”
/*
x y
1 2
*/