hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Not Chess
Goto page 1, 2  Next
 
Reply to topic    hacker.org Forum Index » Challenges View previous topic
View next topic
Not Chess
Author Message
Allosentient



Joined: 10 Apr 2008
Posts: 273

Post Not Chess Reply with quote
Is this solvable? I am finding it mathematically impossible to find a variable x that satisfies the equation x & 111100 == 011101. I could have done something wrong since I am using C# instead of javascript but wanted to make sure this was solvable before spending any more time on it.
Fri Jun 06, 2008 4:34 am View user's profile Send private message
adum



Joined: 19 Apr 2007
Posts: 390

Post Reply with quote
i'm not sure what your equation refers to (and does seem unsolvable), but this problem is definitely solvable and has been solved by multiple people.

good luck,
adum
Fri Jun 06, 2008 5:07 am View user's profile Send private message Visit poster's website
Allosentient



Joined: 10 Apr 2008
Posts: 273

Post Reply with quote
It was a problem with the NaN function, I interpreted it as checking to see if the character is a number from 0-9 (doh)
Fri Jun 06, 2008 4:23 pm View user's profile Send private message
lukas



Joined: 26 Nov 2008
Posts: 34
Location: Germany

Post Reply with quote
I done it complete without any programming...

the only thing you must du is to try each char by char as long
as the right letters are printed....

I done it within 30min by hand
Tue Dec 02, 2008 9:42 pm View user's profile Send private message
Passant



Joined: 31 Oct 2008
Posts: 1

Post 1 and l Reply with quote
And don't mix 1 and l up ... Took me ages to find this mistake
Tue Jan 13, 2009 6:01 pm View user's profile Send private message
aurora



Joined: 05 Feb 2009
Posts: 53
Location: Bavaria, Germany

Post Reply with quote
i think writing a script for this takes longer, than doing it by hand. the first few characters are just guessing but after this, google may be your friend Wink (again)
Fri Feb 06, 2009 6:04 pm View user's profile Send private message
sarang



Joined: 10 Mar 2009
Posts: 1

Post Re: Not Chess Reply with quote
[quote="Allosentient"]Is this solvable? I am finding it mathematically impossible to find a variable x that satisfies the equation x & 111100 == 011101. I could have done something wrong since I am using C# instead of javascript but wanted to make sure this was solvable before spending any more time on it.[/quote]
Tue Mar 10, 2009 1:49 pm View user's profile Send private message
karma-fusebox



Joined: 06 Mar 2009
Posts: 23

Post Reply with quote
i'm surprised none of you smart guys recognizes what the function actually does...
it's ridiculous writing [more than] a line of script or even picking up a pen. Very Happy
Tue Mar 17, 2009 4:13 am View user's profile Send private message
cutter



Joined: 12 Jan 2009
Posts: 17

Post Reply with quote
to know the function didn't help me at all
i think thr function behave strange for "unnormal" input like space, comma etc
but maybe i'm trying to type in the wrong word
Tue Mar 17, 2009 9:46 am View user's profile Send private message
Admiral Beotch



Joined: 26 Oct 2009
Posts: 4
Location: Las Vegas, NV

Post Reply with quote
karma-fusebox wrote:
i'm surprised none of you smart guys recognizes what the function actually does...
it's ridiculous writing [more than] a line of script or even picking up a pen. Very Happy


Agree 100%

Supar eazy if you've been exposed to the output from wrong answers before...

'^.*=+$' for the win
Thu Oct 29, 2009 7:21 am View user's profile Send private message
Guderian



Joined: 25 Jan 2011
Posts: 18
Location: Greece

Post Reply with quote
i reversed the algortihm in c++ and found the solution. but the output is wrong in 2 letters. instead of <'> it prints %27 and instead of space it prints %20. Then i realized that this is a web script so it uses url encoding, so i replaced these 2 characters with the appropriate ones and it was over Very Happy.
Sat Jan 29, 2011 3:10 am View user's profile Send private message
froest2012



Joined: 03 Dec 2011
Posts: 5

Post Reply with quote
why does ((enc2 & 15) << 4) works ,but (enc2 << 4) not??
Mon Dec 19, 2011 4:28 pm View user's profile Send private message Send e-mail
rain1024



Joined: 23 Jul 2011
Posts: 27

Post Reply with quote
I used python for this challenge.
After done at all, I think I can solve it by hand :lol
Wed Dec 28, 2011 3:56 pm View user's profile Send private message
fragman



Joined: 05 Mar 2009
Posts: 15

Post Reply with quote
use the source, luke...
Sat Jun 23, 2012 12:59 pm View user's profile Send private message
knoerxi



Joined: 03 Nov 2008
Posts: 6

Post Reply with quote
The encoding is "obviously" -- it is standard -- it can returned with a free accessable OnlineTool==

done in 3 Minutes
Wed Oct 07, 2015 11:33 pm View user's profile Send private message Send e-mail
Display posts from previous:    
Reply to topic    hacker.org Forum Index » Challenges All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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.