[crap] posting our own shitty code [lol-worthy] (15)

4 Name: 2 : 2006-11-27 14:55 ID:Heaven

sub is_prime{map{$n=$n%$_?$n:0}2..($n=pop)**.5;$n>1}

i have no idea why that &&1 was in there... that's what happens when i write code after being awake for over 70 hours...

This thread has been closed. You cannot post in this thread any longer.