12 lines
208 B
Kotlin
Vendored
12 lines
208 B
Kotlin
Vendored
fun box(): String {
|
|
val res = (1..3).map { it ->
|
|
if (it == 1)
|
|
2
|
|
};
|
|
|
|
var result = ""
|
|
for (i in res)
|
|
result += " "
|
|
return if (result == " ") "OK" else result
|
|
}
|