hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Brokener Keys

 
Reply to topic    hacker.org Forum Index » Challenges View previous topic
View next topic
Brokener Keys
Author Message
tompko



Joined: 25 Feb 2011
Posts: 11
Location: London, UK

Post Brokener Keys Reply with quote
I've hit a wall on this one, I just can't see a way to do this without resorting to a divide and I can't see anyway to simulate a divide without comparisons. Anyone care to give me a even a vague hint as to the direction I should be wandering in?
Sun Mar 20, 2011 7:54 pm View user's profile Send private message
Karian



Joined: 09 Jan 2008
Posts: 75

Post Reply with quote
At this point, it is really about breaking the program and thinking out of the box. There is even a harder challenge ahead with an extra key broken.
There are a few possible sollutions, and it is hard to give a hint towards a solution without giving it away.
Just a general hint, first try to find a stricter definition about the problem case, are there any limitations in the problem that are in the test cases which aren't mentioned in the general description, and try to use those to find a solution.
For this problem, it is enough if you pass the test cases. It shouldn't work with all possible inputs.
Mon Mar 28, 2011 1:27 pm View user's profile Send private message
kuronno



Joined: 19 Mar 2009
Posts: 4

Post Reply with quote
Found a solution, but when I submit it, it acts as if I had refreshed the page instead of submitting my answer... Maybe it's too long? I had to add a fair amount of "nops" to make my solution work...
Wed Jul 25, 2012 3:12 am View user's profile Send private message
laz0r



Joined: 04 Feb 2010
Posts: 290
Location: Within the depths of Unix

Post Reply with quote
It often does that if your input is too long to use GET - try switching to POST and see if it works then?

_________________
There is no spoon.
Wed Jul 25, 2012 7:54 am View user's profile Send private message
kuronno



Joined: 19 Mar 2009
Posts: 4

Post Reply with quote
How do I do that? I've tried Google, but couldn't make it work...

EDIT: Ok, it worked! Thank you!
Wed Jul 25, 2012 8:58 pm 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.