Skip to content

Commit 094aab5

Browse files
committed
Corrected directories
1 parent ec32f16 commit 094aab5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use v5.28;
22
my @a = (2,3,5);
3-
for my $i (1..$ARGV[0]) {
3+
for (my $i=1; $i<$ARGV[0]; $i++) {
44
my $a = $i;
55
for (@a) {
6-
$a/=$_ while $a%$_==0;
6+
$a/=$_ until $a%$_;
77
}
88
$a==1 and say $i;
99
}
File renamed without changes.

0 commit comments

Comments
 (0)