Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (10 sloc) 0.164 kB
#!/usr/bin/env perl
use strict;
use warnings;
use 5.010;
my $sum;
foreach ( 1 .. 999 ) {
next unless $_ % 3 == 0 || $_ % 5 == 0;
$sum += $_;
}
say $sum;
Jump to Line
Something went wrong with that request. Please try again.