Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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