Page 1 of 1

Black Box

Posted: Thu Mar 28, 2013 12:28 pm
by guga
Today I had a look at the black box challenge.
I know what exactly the programm is doing. Now starting with the desired output, I step backwards and try to find the correct input parameter. Doing so, I found something, where it seems to be impossible to get the right factor. Sure, it is possible, quite a lot of people already solved this.
Hmm, hope the point where I'm having problems is clear to those who solved already and my post is not spoiling too much for those who haven't...
Any hints regarding this problem? Thanks :-)

Posted: Fri Apr 05, 2013 1:14 pm
by guga
ping?

Posted: Sat Apr 06, 2013 3:29 am
by AMindForeverVoyaging
If you have written code which does what the given file does (or would do if it were executable), it should not be difficult to just loop through all possible input values and thus find the right one.

Posted: Sun Apr 07, 2013 2:49 pm
by guga
brute force? Good idea! that didn't cross my mind xD
got it. thx.