summaryrefslogtreecommitdiffstats
path: root/1.pl
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-05-13 23:32:40 -0500
committerJesse Luehrs <doy@tozt.net>2009-05-13 23:32:40 -0500
commit7e7b56db42ceb8d2b8973eae678fa4b58d5d3659 (patch)
tree7a5cb816809d632e30227c1e39485ed63b500e80 /1.pl
downloadprojecteuler-7e7b56db42ceb8d2b8973eae678fa4b58d5d3659.tar.gz
projecteuler-7e7b56db42ceb8d2b8973eae678fa4b58d5d3659.zip
add old solutions
Diffstat (limited to '1.pl')
-rwxr-xr-x1.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/1.pl b/1.pl
new file mode 100755
index 0000000..85a8faa
--- /dev/null
+++ b/1.pl
@@ -0,0 +1,5 @@
+#!/usr/bin/perl
+use warnings;
+
+$t+=(!($_%5&& $_%3)?$_:0)for(1..999);
+print "$t\n";