Skip to content

Commit 4a3844a

Browse files
authored
Update select-cells-in-grid-with-maximum-score.cpp
1 parent 8883d17 commit 4a3844a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

C++/select-cells-in-grid-with-maximum-score.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ class Solution2 {
7878
if (empty(lookup[x])) {
7979
continue;
8080
}
81-
vector<int> new_dp(dp);
8281
for (int mask = size(dp) - 1; mask >= 0; --mask) {
8382
for (const auto& i : lookup[x]) {
8483
if (mask & (1 << i)) {

0 commit comments

Comments
 (0)