Permalink
Browse files

[euler] more int() removal

  • Loading branch information...
1 parent d118e99 commit 34a0c55ee19d6a47b7ceb229eb5e74663f8e7683 @moritz moritz committed Dec 8, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 34a0c55

Please sign in to comment.