KT-1076 reversed ranges
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fun box() : String {
|
||||
var cnt = 0
|
||||
for (len in 4 downto 1) {
|
||||
cnt++
|
||||
}
|
||||
|
||||
for (n in -(1..5))
|
||||
cnt++
|
||||
|
||||
return if(cnt == 9) "OK" else cnt.toString()
|
||||
}
|
||||
Reference in New Issue
Block a user