Skip to content

Commit 07880c5

Browse files
authored
Update count-numbers-with-unique-digits.cpp
1 parent b8f3893 commit 07880c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: C++/count-numbers-with-unique-digits.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ class Solution {
1313
fk *= 10 - (k - 1);
1414
count += fk;
1515
}
16-
return count; // sum(f(i), i=1~n)
16+
return count; // sum(f(k), k=1~n)
1717
}
1818
};

0 commit comments

Comments
 (0)