Skip to content

Commit 541b4e5

Browse files
authored
Update strong-password-checker.cpp
1 parent bd24c6e commit 541b4e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

C++/strong-password-checker.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class Solution {
88
missing_type_cnt -= static_cast<int>(any_of(s.begin(), s.end(), [](char c){ return isdigit(c); }));
99
missing_type_cnt -= static_cast<int>(any_of(s.begin(), s.end(), [](char c){ return isupper(c); }));
1010
missing_type_cnt -= static_cast<int>(any_of(s.begin(), s.end(), [](char c){ return islower(c); }));
11+
1112
int total_change_cnt = 0;
1213
int one_change_cnt = 0, two_change_cnt = 0, three_change_cnt = 0;
1314
for (int i = 2; i < s.length();) {

0 commit comments

Comments
 (0)