Chew please these lines:
set<string> set1; map<set<string>, int> map1; A newbie can't understand, map is [key, value], but here we are not putting anything into the map in the key, but adding words to set1. And after adding words, we can refer to them through map1. For example:
`string lol; int k; cin >> lol; set1.insert(lol); map1[set1] = k;` And how to display them after. Displays the value of:
cout << map1[set1] << endl;