Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
|
|
@ -1,7 +1,10 @@
|
|||
const std = @import("std");
|
||||
|
||||
pub fn main() void {
|
||||
var i: u11 = 1024;
|
||||
while (i > 0) : (i /= 2)
|
||||
std.debug.print("{}\n", .{i});
|
||||
pub fn main() !void {
|
||||
const stdout = std.io.getStdOut().writer();
|
||||
|
||||
var n: u16 = 1024;
|
||||
while (n > 0) : (n = @divTrunc(n, 2)) {
|
||||
try stdout.print("{d}\n", .{n});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue