Skip to content

Commit b56c5c1

Browse files
authored
Update verbal-arithmetic-puzzle.cpp
1 parent 687de11 commit b56c5c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

C++/verbal-arithmetic-puzzle.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class Solution {
4040
}
4141
return false;
4242
}
43+
4344
const auto& total = accumulate(words.cbegin(), words.cend(), carry,
4445
[&j, &lookup](const auto& x, const auto& y) {
4546
return (j < y.length()) ? x + (*lookup)[y[j]] : x;

0 commit comments

Comments
 (0)