<commit_before>#!perl

use strict;
use warnings;
use 5.010;

foreach (333 .. 998) {
    my $c = $_;
    foreach (2 .. $c-1) {
        my $b = $_;
        my $a = 1000 - $b - $c;
        if ($a < $b) {
            if ($a*$a + $b*$b == $c*$c) {
                my $prod = $a*$b*$c;
                say "$a^2 + $b^2 = $c^2, abc = $prod";
                exit 0;
            }
        }
    }
}

<commit_msg>Reduced range of loops.<commit_after>#!perl

use strict;
use warnings;
use 5.010;

foreach (334 .. 997) {
    my $c = $_;
    foreach (1 .. 333) {
        my $a = $_;
        my $b = 1000 - $a - $c;
        if ($a < $b) {
            if ($a*$a + $b*$b == $c*$c) {
                my $prod = $a*$b*$c;
                say "$a^2 + $b^2 = $c^2, abc = $prod";
                exit 0;
            }
        }
    }
}


{'fraction_non_alphanumeric': 0.204406364749082, 'fraction_numerical': 0.051407588739290085, 'mean_word_length': 1.1191709844559585, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3765572', 'n_tokens_mistral': 369, 'n_tokens_neox': 334, 'n_words': 83}