Commits

Shlomi Fish committed 966e9c6

Remove extraneous parentheses.

Comments (0)

Files changed (1)

project-euler/148/calc-num-Y-in-row.pl

         {
             my $big_Y_total = ($digits[$d_len]->{power}-1-$digits[$d_len-1]->{total_mod}) * $digits[$d_len]->{d};
 
-            return $big_Y_total + ($digits[$d_len]->{d}+1) * __SUB__->($d_len-1);
+            return $big_Y_total + $digits[$d_len]->{d}+1 * __SUB__->($d_len-1);
         }
     };