Page 1 of 2
Affirmative
Posted: Sun Mar 08, 2009 7:32 pm
by wiz1989
Ok, took me a lot of time. But I finally did it.
But only because I was so angry about all those "yeses" and wanted to deny^^
Is there any other way to solve this challenge than letting your anger solve it?
Re: Affirmative
Posted: Sun Mar 08, 2009 8:29 pm
by michuber
You noticed the capital letters?
Posted: Mon Mar 09, 2009 11:19 am
by wiz1989
I did, but I didn't filter them. Well, pretty easy challenge after all. No I also recognized the caps-written "NO"^^
Posted: Thu Aug 27, 2009 2:16 pm
by blablaSTX
tried some other ascii decoding on groups-of-8 bytes of the yes-no bits forst, when suddenly (while looking at the bits in a hex-viewer) I had the aha effect...
Posted: Sat May 22, 2010 10:34 am
by markobr
My solution in bad Perl:
Code: Select all
print $_ == 0 ? chr(hex($_)) : $_ < 60 ? "*" : " " foreach @chars;
where @chars contains the hex values.
Posted: Tue May 25, 2010 9:48 pm
by teebee
I like your neat solution. However, it could be written a bit more compact:
Code: Select all
print$_+0?$_<60?"*":" ":chr hex for@chars;
or even "worse":
Code: Select all
print chr($_+0?42-($_&64)/7:hex)for@chars;
Nevertheless, the shortest solution I found so far is
Code: Select all
print chr($_+0?3+($_<60).2:hex)for@chars;
Posted: Tue Nov 16, 2010 11:21 am
by jarel
ouch, that hurt.
Posted: Wed Nov 17, 2010 1:23 am
by teebee
Indeed, it was a bit lengthy:
Code: Select all
print chr(-$_?3+($_<60).2:hex)for@chars;
Posted: Wed Nov 17, 2010 5:19 am
by tails
I think it's still lengthy:
Code: Select all
print chr(-$_?3+($_<60).2:hex)for@chars
Posted: Thu Nov 18, 2010 1:29 am
by teebee
It seems that you are the better golfer here. So, putt it in, please. Perhaps you might also want to take a look at
http://golf.shinh.org/.
Posted: Fri Nov 19, 2010 12:12 pm
by tails
Thanks for the invitation, Teebee.
I tried some problems there.
It's fun!
Posted: Fri Nov 19, 2010 11:52 pm
by teebee
Have I already mentioned that I don't like weekday names ...
Posted: Thu Jan 26, 2012 10:41 am
by aurora
This one was fun to solve ... imo
Posted: Tue Mar 27, 2012 12:22 am
by General_Payne
Fun!? Ridiculously frustrating. Looked hard so I left it and left it.
Then come back to it and only find it by sheer fluke. I had spent ages thinking it was binary and trying to work out how the hell it was encoded!
Posted: Sat Feb 08, 2014 2:16 pm
by Tabun
It was pretty funny. I just saw the yesses, tried to 'yes' and 'no', and that was that.
After that, it was super easy to find out how to get 'no' from the actual content, but I'll bet it would've taken a bit longer if I didn't know what to try and get out of it exactly.. :]