Commits

Shlomi Fish committed 6c435e6

Add the script to yield the result. It works!

  • Participants
  • Parent commits 3bbcee5

Comments (0)

Files changed (1)

File project-euler/77/solve-euler77.pl

+use strict;
+use warnings;
+
+use Euler77;
+
+my $n = 1;
+
+MAIN:
+while (1)
+{
+    my $ret = get_num_primes_combinations($n);
+    print "$n : $ret\n";
+    if ($ret > 5_000)
+    {
+        last MAIN;
+    }
+}
+continue
+{
+    $n++;
+}