King Mouse

Discussion of challenges you have already solved
soeschmid
Posts: 6
Joined: Sat Nov 08, 2008 6:36 pm

Post by soeschmid »

Hi there,

i finally found a solution myself.
My solution is a bit different to those above, so i post it, too:
0<11+0>0<<01^3^1^8?:g d0<3cp


Because there is still a "do nothing" opcode in it,
i hope i can get it still one shorter for the next challenge.
MichaBln
Posts: 18
Joined: Tue Nov 11, 2008 1:55 pm
Location: Berlin, GER

Post by MichaBln »

Ok, if you post your solutions I'll post mine ..

0<01^1^<:2/5?0^<1v1+0^<2?3cdp

Since I've already seen a bunch of different approaches ... maybe I can pick up some optimization-ideas ...

Michael
User avatar
Hamstaro
Posts: 6
Joined: Fri Feb 06, 2009 3:34 pm

Here we go

Post by Hamstaro »

First my solution looked like the one from sigi - but then i decided to add some fun to it:

Code: Select all

45*1-0^<1^0<2^:1+*>0^2?3c0<p!
User avatar
livinskull
Posts: 22
Joined: Fri Jun 26, 2009 12:01 pm
Location: /dev/null
Contact:

Post by livinskull »

Go through that array from behind

Code: Select all

54*1-0^<0<:1+5?0^<0>1-0^2?5c<p
So I start with the number after the input number which is 0, like some others did too
Unfortunately this no longer works, cause on the 5th test there are all negative numbers

therefore I decided to cheat a bit and forget about the last number, and just begin with the 19th

Code: Select all

92*0^<0<:1+5?0^<0>1-0^2?3c<p
well, it worked :D
whattheh@ck
Posts: 16
Joined: Wed Jul 16, 2008 2:33 am
Location: here

Post by whattheh@ck »

I think that any solution accepted by the server is a valid solution. Even if that means playing the numbers game and having it get the correct number only most of the time :wink: The idea with these challenges is to force hackers to come up with novel solutions to problems. We should not frown on those who use statistics to their advantage...

that said, here's my code for this one:

10^<0^28*?0<:1+5?0^<0>1+1c0<p

I'm guessing i can shorten it quite a bit by moving the position of the first test
hack the planet
lvhao945
Posts: 18
Joined: Fri Oct 14, 2011 10:18 am
Location: none

Post by lvhao945 »

10^<0<1^:1+2/>1+0^45*-2?1c0<p
Midnightman82
Posts: 1
Joined: Thu Apr 28, 2016 4:14 pm

Post by Midnightman82 »

45*1-0^<0^0<:1+3?0>0d0^2?3c<p
User avatar
Hippo
Posts: 339
Joined: Sat Feb 01, 2014 12:05 am
Location: Praha 5

Post by Hippo »

This is really nice challenge series ... except the boring last step (fighting the probability) ... my engine fights for several months already ... and is as far from the solution as after first day (what is further then before start).
AMindForeverVoyaging
Forum Admin
Posts: 496
Joined: Sat May 28, 2011 9:14 am
Location: Germany

Post by AMindForeverVoyaging »

Hippo wrote:This is really nice challenge series ... except the boring last step (fighting the probability)
That one should never have existed. It doesn't make sense.
Post Reply