Commits

Shlomi Fish committed 343c839

Full solution for Euler #191 - working nicely.

Comments (0)

Files changed (1)

project-euler/191/euler_191-1.pl

 
 say "Count[$pivot] = ", calc_count($pivot);
 
+my $desired = 30;
+for my $n (($pivot+1) .. $desired)
+{
+    step($n);
+}
 
+say "Count[$desired] = ", calc_count($desired);