int main()
{
map<string, int> map1;
for (int i = 0; i < 10; i++)
{
string s = "Map" + to_string(i);
map1[s] = i;
}
for (auto it : map1)
{
cout << it.first << " " << it.second << endl;
}
}
int main()
{
map<string, int> map1;
for (int i = 0; i < 10; i++)
{
string s = "Map" + to_string(i);
map1[s] = i;
}
for (auto it : map1)
{
cout << it.first << " " << it.second << endl;
}
}