It's A Small World

Discussion of challenges you have already solved
Post Reply
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

It's A Small World

Post by adum »

d
DaymItzJack
Posts: 106
Joined: Thu Oct 29, 2009 9:21 pm

Post by DaymItzJack »

Code: Select all

0798*-255+88+76+21^-0^6*55+0^01-65+5^4-5^278*-76+55+0^3193*-772**+P098+-1^1?g
or

Code: Select all

0
798*-
2
55+
88+
76+
21^-
0^6*
55+
0^
01-
65+
5^4-
5^
278*-
76+
55+
0^
3
193*-
772**+P098+-1^1?g
Oh god, please tell me how others did it.
tails
Posts: 191
Joined: Tue Jun 10, 2008 7:51 pm
Location: Tokyo

Post by tails »

DaymItzJack wrote:Oh god, please tell me how others did it.
Congratulations. You'll have similar and harder challenges later, so we can't fully discuss here. Enjoy! :)
DaymItzJack
Posts: 106
Joined: Thu Oct 29, 2009 9:21 pm

Post by DaymItzJack »

No, tell me!
arthur
Posts: 21
Joined: Fri Jul 23, 2010 12:44 pm

Post by arthur »

tails wrote:
DaymItzJack wrote:Oh god, please tell me how others did it.
Congratulations. You'll have similar and harder challenges later, so we can't fully discuss here. Enjoy! :)
haha, is there a 'It's a Smaller World' or 'It's the Smallest World'
User avatar
CodeX
Posts: 350
Joined: Fri Oct 17, 2008 5:28 pm

Post by CodeX »

I've been working on some string functions for working with HVM and in it's current iteration puts out code which is a !!!whole byte!!! shorter than DaymItzJack's:

Code: Select all

029+3*45*5*0^8+0^6+1^3+99*6+48*4^0^7^3-8^9+5^4-5^29+4*9^6^0^9^7-89*0^5?P09-g
User avatar
bsguedes
Posts: 103
Joined: Tue Feb 24, 2009 12:39 am
Location: Porto Alegre

Post by bsguedes »

My first solution used the same strategy as DaymItzJack's, doing the sum with a different number.

After, I've changed this method a little bit and managed to get the solution to this challenge down to 68 instructions. I think this method won't get me further though.

I've recently unlocked the next challenge in the series which requires getting this code down to 56 instructions.

Does anyone have a little hint about how to reduce this code even more? :(
User avatar
bsguedes
Posts: 103
Joined: Tue Feb 24, 2009 12:39 am
Location: Porto Alegre

Post by bsguedes »

I got it to 57 instructions.

My avatar shares my reaction.
aurora
Posts: 54
Joined: Thu Feb 05, 2009 12:31 pm
Location: Bavaria, Germany

Post by aurora »

wow ... this was really tough for me optimizing it to 77 instructions ... phew! but now i got it ... :)
Post Reply