diff options
Diffstat (limited to 'perl/p4.pl')
| -rwxr-xr-x | perl/p4.pl | 8 | 
1 files changed, 4 insertions, 4 deletions
@@ -10,9 +10,9 @@ use List::Util qw(max);  # Imperative  my $resp;  for my $x (100 .. 999) { -	for my $y ($x .. 999) { -		my $cand = $x*$y; -		$resp = max($resp, $cand) if $cand eq reverse($cand); -	} +    for my $y ($x .. 999) { +        my $cand = $x*$y; +        $resp = max($resp, $cand) if $cand eq reverse($cand); +    }  }  print "$resp\n";  | 
