From 7e7b56db42ceb8d2b8973eae678fa4b58d5d3659 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 13 May 2009 23:32:40 -0500 Subject: add old solutions --- 1.pl | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 1.pl (limited to '1.pl') 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"; -- cgit v1.2.3