41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
10 lines
208 B
Kotlin
10 lines
208 B
Kotlin
fun box(): String {
|
|
val a = Array<Int>(5, {it})
|
|
val x = a.indices.iterator()
|
|
while (x.hasNext()) {
|
|
val i = x.next()
|
|
if (a[i] != i) return "Fail $i ${a[i]}"
|
|
}
|
|
return "OK"
|
|
}
|