Skip to content

Commit 9da468a

Browse files
committed
Fixed sonar
1 parent c7e16ce commit 9da468a

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/g3401_3500/s3490_count_beautiful_numbers

1 file changed

+1
-1
lines changed

src/main/kotlin/g3401_3500/s3490_count_beautiful_numbers/Solution.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Solution {
3535
}
3636
val str = "$i - $tight - $sum - $prod"
3737
if (dp.containsKey(str)) {
38-
return dp.get(str)!!
38+
return dp[str]!!
3939
}
4040
val limit: Int = if (tight == 1) {
4141
digits[i].code - '0'.code

0 commit comments

Comments
 (0)