diff options
author | Guillermo Ramos | 2019-04-23 21:42:49 +0200 |
---|---|---|
committer | Guillermo Ramos | 2019-04-23 21:42:49 +0200 |
commit | 14f80772cd91555d4b3862e57460b832e88e5b22 (patch) | |
tree | e929e94c75acb805d581c46925b4f0c79b0c39bf /perl/p4.pl | |
parent | 84ea53edf5431d382844da8fcaa47626c8e2b6b2 (diff) | |
download | euler-14f80772cd91555d4b3862e57460b832e88e5b22.tar.gz |
[perl] tabs -> spaces
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"; |