Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Integer-sequence/Wren/integer-sequence.wren
Normal file
11
Task/Integer-sequence/Wren/integer-sequence.wren
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import "./fmt" for Fmt
|
||||
import "./big" for BigInt
|
||||
|
||||
var max = 2.pow(53) // 9007199254740992 (16 digits)
|
||||
for (i in 1...max) Fmt.print("$d", i)
|
||||
|
||||
var bi = BigInt.new(max.toString)
|
||||
while (true) {
|
||||
Fmt.print("$i", bi)
|
||||
bi = bi + 1
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue