1. Shlomi Fish
  2. project-euler

Commits

Shlomi Fish  committed 966e9c6

Remove extraneous parentheses.

  • Participants
  • Parent commits e9d81ff
  • Branches default

Comments (0)

Files changed (1)

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

View file
  • Ignore whitespace
         {
             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);
         }
     };