hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Challenge 'Didactic Bytes'

 
Reply to topic    hacker.org Forum Index » Challenges View previous topic
View next topic
Challenge 'Didactic Bytes'
Author Message
Drew



Joined: 25 Jun 2009
Posts: 2

Post Challenge 'Didactic Bytes' Reply with quote
I'm apparently having some trouble on Didactic Bytes, I'm going to share my results in case they help indicate where I'm going astray, therefore there may be some spoilers... though my result ends up incorrect so they can't be spoiling too much Razz

I converted 199, 77, and 202 into bytes and got:
199 - 11000111
77 - 01001101
202 - 11001010

then I put them together into a 24 bit long string which looks like this: 110001110100110111001010 (199 then 77 then 202)

I then took that as a single binary number and converted into decimal, and got: 26043146, which is not the answer.

I've double checked all of the math, but apparently I'm missing something?
Fri Jun 26, 2009 2:14 am View user's profile Send private message
gfoot



Joined: 05 Sep 2007
Posts: 269
Location: Brighton, UK

Post Reply with quote
Your calculation is wrong. Convert the answer you got back again and see where it fails to match up.
Fri Jun 26, 2009 2:34 am View user's profile Send private message
Drew



Joined: 25 Jun 2009
Posts: 2

Post Reply with quote
Thanks, I guess I need some more practice converting decimal to binary.
Fri Jun 26, 2009 2:46 am View user's profile Send private message
Display posts from previous:    
Reply to topic    hacker.org Forum Index » Challenges All times are GMT
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.