Commits

Shlomi Fish committed 1770bc5

Fix for #189 - correct solution now.

  • Participants
  • Parent commits cd5683d

Comments (0)

Files changed (1)

project-euler/189/euler_189.pl

 
                         $total_count += $delta;
                         $next_seqs->{$str} += $delta;
-                        $next_deriveds->{$seq}{$str} += $delta;
+                        # $next_deriveds->{$seq}{$str} += $delta;
+                        $next_deriveds->{$seq}{$str} += $left_count;
                     }
                 }
             }