Skip to content

Commit 4c60f15

Browse files
committed
Fixed sonar
1 parent 6b4b3e3 commit 4c60f15

File tree

1 file changed

+2
-2
lines changed
  • src/main/kotlin/g3601_3700/s3664_two_letter_card_game

1 file changed

+2
-2
lines changed

src/main/kotlin/g3601_3700/s3664_two_letter_card_game/Solution.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class Solution {
1212
val right = IntArray(10)
1313
var xx = 0
1414
for (c in cards) {
15-
val a = c.get(0)
16-
val b = c.get(1)
15+
val a = c[0]
16+
val b = c[1]
1717
if (a == x && b == x) {
1818
xx++
1919
} else if (a == x) {

0 commit comments

Comments
 (0)