Page 1 of 1

Branches

Posted: Mon Jun 21, 2010 4:23 pm
by Marv
Hi,

is there really a way to shorten/speed up that code or is there a trick to get the solution?
I see that the solution is: ov(389) ^ 1931788314

Any hints how to disclaim all these branches? ^^

Marv

Posted: Mon Jun 21, 2010 7:59 pm
by laz0r
It's not too hard if you spend some time on it - Visual Studio is a great help.

Posted: Mon Jun 21, 2010 8:07 pm
by rmplpmpl
I spent far too much time on it with a total silly approach unless I got a small nudge towards the right direction. I second the hint of laz0r, though NetBeans or any decent Java development tool should do the job as well.

Posted: Wed Jun 30, 2010 12:51 pm
by b0bA
I've tried a lot of more or less useless refactoring until i found the "key". I've written a python program that restructured the code by inline and delete some of the simple methods and doing further refactoring tricks.
Afterwards, i can recommend IntelliJ IDE for this challenge. It will save you that kind of work ;).

Posted: Tue Apr 17, 2012 5:53 pm
by guga
Hmm, whats wrong?
I tidied up the code a bit with python. When I run it now, i get an answer immediately. But it is not accepted by the challenge. Did I miss anything? Could someone PM me that I can tell my solution and how I got it? Don't want to spoil here...

Posted: Thu Apr 19, 2012 1:43 pm
by magnus
One mistake by 'tidying up' and the result is wrong. Be more careful.