[ Create a new account ]
:by(2)
my @nonprime; say 2;for 3..200 -> $x, $y{ unless (@nonprime.exists($x)) { say $x; my $i; loop ($i = $x; $i < 200; $i += 2 * $x) { @nonprime[$i] = 1; } }}
Get More Comments
Reply
Sixth Script: First Working Version 0 Comments More | Login | Reply /