We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da733a5 commit 9dcb8acCopy full SHA for 9dcb8ac
src/main/kotlin/g3201_3300/s3283_maximum_number_of_moves_to_kill_all_pawns/Solution.kt
@@ -69,7 +69,7 @@ class Solution {
69
if ((mask and (1 shl j)) > 0) {
70
result = max(
71
result,
72
- (dp[mask xor (1 shl j)][j] + distances[i][j]),
+ dp[mask xor (1 shl j)][j] + distances[i][j],
73
)
74
}
75
@@ -79,7 +79,7 @@ class Solution {
79
80
result = min(
81
82
83
84
85
0 commit comments