Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -1,15 +1,10 @@
|
|||
import java.math.BigInteger
|
||||
|
||||
// version 1.0.5-2
|
||||
fun main() {
|
||||
// Using a 64-bit unsigned type, print until 18446744073709551615
|
||||
(1u..ULong.MAX_VALUE).forEach { println(it) }
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
// print until 2147483647
|
||||
(0..Int.MAX_VALUE).forEach { println(it) }
|
||||
|
||||
// print forever
|
||||
var n = BigInteger.ZERO
|
||||
while (true) {
|
||||
println(n)
|
||||
n += BigInteger.ONE
|
||||
}
|
||||
// Using unlimited-size integers, print forever
|
||||
var n = BigInteger.ONE
|
||||
while (true) println(n++)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
## 1.Step.Print
|
||||
1
Task/Integer-sequence/Uiua/integer-sequence.uiua
Normal file
1
Task/Integer-sequence/Uiua/integer-sequence.uiua
Normal file
|
|
@ -0,0 +1 @@
|
|||
⍢(&p.+1)1 1
|
||||
9
Task/Integer-sequence/Zig/integer-sequence.zig
Normal file
9
Task/Integer-sequence/Zig/integer-sequence.zig
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const stdout = @import("std").io.getStdOut().writer();
|
||||
|
||||
pub fn main() !void {
|
||||
var i: u128 = 1;
|
||||
|
||||
while (true) : (i += 1) {
|
||||
try stdout.print("{}, ", .{i});
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue