Implemented length storage of allocated memory
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import io
|
||||
import log
|
||||
import sys
|
||||
|
||||
main() {
|
||||
collatz(12)
|
||||
@ -19,6 +19,6 @@ collatz(x Int) {
|
||||
return
|
||||
}
|
||||
|
||||
sys.write(1, " ", 1)
|
||||
io.out(" ")
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user