Hi folks,
I finally got my solution down to 24 instructions. It's actually a hack that will break in the following situations:
- mem[1] is maximum and mem[0]==mem[2] (e.g., 2,1000,2,3,4,...)
- if there is a zero in the array (so I do not count up to 20 but stop at the first zero)
Nevertheless it passes all tests
So is there a "correct" solution to this one?
Maybe Smallest Mouse
-
- Posts: 61
- Joined: Wed Apr 30, 2008 3:31 am
Maybe Smallest Mouse
Oh. I'm not soo bad ! My solution only sucks if mem[1] is max.
seriously: DOES there exist any CORRECT solution with 24 or less??
seriously: DOES there exist any CORRECT solution with 24 or less??
Re: Maybe Smallest Mouse
Yep, just te last step took me 2 years ... as there is just a probabilistic solution with rather small probability of success.ogi wrote:Oh. I'm not soo bad ! My solution only sucks if mem[1] is max.
seriously: DOES there exist any CORRECT solution with 24 or less??
(If I remember well )
-
- Forum Admin
- Posts: 496
- Joined: Sat May 28, 2011 9:14 am
- Location: Germany
Re: Maybe Smallest Mouse
Well then it is not a correct solution. Correct means: You give the answer, it is accepted, finished.Hippo wrote: Yep, just te last step took me 2 years ... as there is just a probabilistic solution with rather small probability of success.
Re: Maybe Smallest Mouse
Well then it is not a correct puzzleAMindForeverVoyaging wrote:Well then it is not a correct solution. Correct means: You give the answer, it is accepted, finished.Hippo wrote: Yep, just te last step took me 2 years ... as there is just a probabilistic solution with rather small probability of success.
-
- Forum Admin
- Posts: 496
- Joined: Sat May 28, 2011 9:14 am
- Location: Germany
Re: Maybe Smallest Mouse
Well, it isn't when you think about it.Hippo wrote:Well then it is not a correct puzzle
break the barriers..
Hey (as stated by some one else before):
This is a HACKERs challenge. Not a mathematicians one.
So be smart an hack the rules!
This is a HACKERs challenge. Not a mathematicians one.
So be smart an hack the rules!