Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[euler] more int() removal

  • Loading branch information...
commit 34a0c55ee19d6a47b7ceb229eb5e74663f8e7683 1 parent d118e99
@moritz moritz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  euler/prob029-polettix.pl
View
2  euler/prob029-polettix.pl
@@ -33,7 +33,7 @@
# to the square root, and count the former according to the possible
# exponents.
my (%mark_for, %already_done);
-for 2 .. int(sqrt($max)) -> $i {
+for 2 .. sqrt($max).Int -> $i {
next if %already_done{$i};
my $x = $i;
Please sign in to comment.
Something went wrong with that request. Please try again.