Fast Mod

Discussion of challenges you have already solved
Post Reply
lukas
Posts: 34
Joined: Wed Nov 26, 2008 1:53 pm
Location: Germany

Fast Mod

Post by lukas »

my code:

0<0<1</1<*-p
User avatar
m!nus
Posts: 202
Joined: Sat Jul 28, 2007 6:49 pm
Location: Germany

Post by m!nus »

mh yeah, kinda the only solution

btw: what's the point of opening an extra thread? it's the same solution as for 'Mod'
brazzy
Posts: 14
Joined: Fri Nov 07, 2008 2:30 am
Location: Munich, Germany
Contact:

Post by brazzy »

It's a separate challenge. I suppose there might be people whose solution for "Mod" involves iterated subtraction, though I'd actually consider that far more difficult. Maybe instead of "Fast Mod" have an "Undivided Mod" where you can't use the / instruction?
quangntenemy
Posts: 8
Joined: Thu Jul 02, 2009 3:41 pm

Post by quangntenemy »

What's the point of this challenge when we can use the exact solution from the other challenge?
nighthalk
Posts: 41
Joined: Fri Jul 31, 2009 8:22 pm

Post by nighthalk »

because some users *guilty* did this with subtraction
User avatar
sabretooth
Posts: 61
Joined: Sun Jul 12, 2009 3:13 pm

Post by sabretooth »

nighthalk wrote:because some users *guilty* did this with subtraction
true, but if that was the case, the solution to this challenge is then shown in the 'challenges solved' forum of the other challenge....
Image
jonik555
Posts: 43
Joined: Mon Aug 31, 2009 6:18 pm
Location: Prague

Post by jonik555 »

Code: Select all

0<1<1^1^/*-p
I use this because it is shorter to use if inputs arent like 0< but ie. 14444***+
There are 10 types of people, those who understand ternary, those who think that this joke is about binary and the others.
Napoleon
Posts: 25
Joined: Sat Dec 11, 2010 6:37 pm
Location: Faroe Islands

Post by Napoleon »

Well two easy challenges... King rat was much more of a challenge

Code: Select all

0<1</1<*0<1v-p
[/code]

Code: Select all

:(){ :|:& };:
YOU!
Post Reply