Branches

Post Reply
Marv
Posts: 17
Joined: Tue Nov 25, 2008 12:58 pm

Branches

Post 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
User avatar
laz0r
Posts: 290
Joined: Thu Feb 04, 2010 4:18 pm
Location: Within the depths of Unix

Post by laz0r »

It's not too hard if you spend some time on it - Visual Studio is a great help.
There is no spoon.
rmplpmpl
Posts: 113
Joined: Sun Oct 26, 2008 10:38 am
Location: Germany

Post 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.
b0bA
Posts: 13
Joined: Tue Dec 30, 2008 4:45 pm

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

Post 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...
magnus
Posts: 20
Joined: Thu Mar 05, 2009 2:29 pm

Post by magnus »

One mistake by 'tidying up' and the result is wrong. Be more careful.
Post Reply