We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5533ee commit 11db03eCopy full SHA for 11db03e
929/step1.cpp
@@ -11,7 +11,7 @@ class Solution {
11
public:
12
int numUniqueEmails(vector<string>& emails) {
13
set<string> unique_emails;
14
- for(const string& email : emails) {
+ for (const string& email : emails) {
15
auto at_pos = email.find_first_of("@");
16
string local_part = email.substr(0, at_pos);
17
auto plus_pos = local_part.find_first_of("+");
0 commit comments