include <bits/stdc++.h> #include <unordered_map> #include <vector> using namespace std; int main() { int n; while (cin>>n) { vector<string> vec(n); vector<unordered_map<char,int>> mp(n); for(int i=0;i<n;i++){ ...