Skip to content

Commit 640717e

Browse files
authored
Update 2977.Minimum-Cost-to-Convert-String-II_v2.cpp
1 parent 5b09d53 commit 640717e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Trie/2977.Minimum-Cost-to-Convert-String-II/2977.Minimum-Cost-to-Convert-String-II_v2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Solution {
4545
}
4646

4747
int n = Set.size();
48-
LL d[205][205];
48+
LL d[n][n];
4949
for (int i=0; i<n; i++)
5050
for (int j=0; j<n; j++)
5151
{

0 commit comments

Comments
 (0)