[C++] Concise Solution
For each email address in emails, clean up the local name, append the domain name, and add the cleaned up email to a set.\n\nReturn the size of the set.\n \n\ti
For each email address in `emails`, clean up the local name, append the domain name, and add the cleaned up email to a set.\n\nReturn the size of the set.\n \n\tint numUniqueEmails(vector<string>& emails) {\n        unordered_set<string> st;\n        for(string &email : emails) {\n            string cleanEmail;\n            for(char c : email) {\n                if(c == \'+\' || c == \'@\') break;\n                if(c == \'.\') continue;\n                cleanEmail += c;\n            }\n            cleanEmail += email.substr(email.find(\'@\'));\n            st.insert(cleanEmail);\n        }\n        return st.size();\n    }
['C', 'C++']