En op 22 juli 2002, sprak The Alien:
> mtve: -l print for(@a=gmtime pop)[5]-70,@a[7,2,1,0]

rejected again!

perl steffen.pl 12345678901
391
174
19
15
1

perl mtve.pl 12345678901
-70

Oops!

I assume the poster wants to cope with very large
numbers which will eventually blow up Steffen's
solution too (unless perhaps Math::BigInt is used).

/-\

Reply via email to