Name:
Anonymous
2014-04-24 15:07
def gcd(a,b):
if b==0:
return a
return gcd(b,a%b)
prod = 2
x = 3
greatest_prime = 0
while greatest_prime < 100000:
if gcd(x,prod) == 1:
prod*=x
greatest_prime = x
x+=2
print(greatest_prime)
Name:
Anonymous
2014-04-24 16:05
Memory on prod is going to be a bitch.
Name:
"man-months"
2014-04-24 19:29
ONE WORD: THE FORCED INDENTATION OF CODE
Thread over
Name:
Anonymous
2014-04-24 23:26
>>3Holy shit dude, that meme is fuggen EPIN xD
Name:
Anonymous
2014-04-25 1:58
>>5Holy shit dude, that meme is fuggen EPIN xD
Name:
Anonymous
2014-04-25 2:34
>>6Holy shit dude, that meme is fuggen EPIN xD
Name:
Anonymous
2014-04-25 14:24
>>7Holy shit dude, that meme is fuggen EPIN xD
Name:
Anonymous
2014-05-04 2:54
>>1100003
and it only took 14.08 seconds!
Name:
Anonymous
2014-05-04 10:37
>>3It's the most awesome syntactical invention since Lishp.