Implemented length storage of allocated memory
This commit is contained in:
parent
1ff56e0856
commit
2b2e707520
27 changed files with 134 additions and 49 deletions
|
@ -1,5 +1,5 @@
|
|||
import io
|
||||
import log
|
||||
import sys
|
||||
|
||||
main() {
|
||||
n := 100
|
||||
|
@ -12,7 +12,7 @@ main() {
|
|||
|
||||
if isPrime(i) == 1 {
|
||||
if i != 2 {
|
||||
sys.write(1, " ", 1)
|
||||
io.out(" ")
|
||||
}
|
||||
|
||||
log.number(i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue