Skip to content

Commit 13f4705

Browse files
committed
Fix indentation
1 parent e128cdd commit 13f4705

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2/Main.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ fun power(sets: List<String>): Int {
2424
val count = it.split(" ")[0].toInt()
2525
val color = it.split(" ")[1]
2626

27-
if(!max.containsKey(color) || max[color] ?: 0 < count)
28-
max[color] = count
27+
if(max[color] ?: 0 < count)
28+
max[color] = count
2929
}
3030
}
3131

0 commit comments

Comments
 (0)