Data update
This commit is contained in:
parent
5af6d93694
commit
796d366b97
455 changed files with 7413 additions and 1900 deletions
|
|
@ -1,13 +1,13 @@
|
|||
len d[] 100
|
||||
for p = 1 to 100
|
||||
i = p
|
||||
while i <= 100
|
||||
d[i] = 1 - d[i]
|
||||
i += p
|
||||
.
|
||||
i = p
|
||||
while i <= 100
|
||||
d[i] = 1 - d[i]
|
||||
i += p
|
||||
.
|
||||
.
|
||||
for i = 1 to 100
|
||||
if d[i] = 1
|
||||
print i
|
||||
.
|
||||
if d[i] = 1
|
||||
print i
|
||||
.
|
||||
.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
const stdout = @import("std").io.getStdOut().writer();
|
||||
|
||||
pub fn main() !void {
|
||||
const stdout = @import("std").io.getStdOut().writer();
|
||||
|
||||
var square: u8 = 1;
|
||||
var increment: u8 = 3;
|
||||
for (1..101) |door| {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
const stdout = @import("std").io.getStdOut().writer();
|
||||
|
||||
pub fn main() !void {
|
||||
const stdout = @import("std").io.getStdOut().writer();
|
||||
|
||||
var door: u8 = 1;
|
||||
while (door * door <= 100) : (door += 1) {
|
||||
try stdout.print("Door {d} is open\n", .{door * door});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue