Implemented length storage of allocated memory
This commit is contained in:
parent
79bb606e8d
commit
3043e4e2c4
27 changed files with 134 additions and 49 deletions
|
@ -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(" ")
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue