Black Box

Post Reply
guga
Posts: 17
Joined: Fri Mar 02, 2012 2:39 pm

Black Box

Post 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 :-)
guga
Posts: 17
Joined: Fri Mar 02, 2012 2:39 pm

Post by guga »

ping?
AMindForeverVoyaging
Forum Admin
Posts: 497
Joined: Sat May 28, 2011 9:14 am
Location: Germany

Post 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.
guga
Posts: 17
Joined: Fri Mar 02, 2012 2:39 pm

Post by guga »

brute force? Good idea! that didn't cross my mind xD
got it. thx.
Post Reply