hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Branches

 
Reply to topic    hacker.org Forum Index » Challenges View previous topic
View next topic
Branches
Author Message
Marv



Joined: 25 Nov 2008
Posts: 17

Post Branches Reply with quote
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
Mon Jun 21, 2010 4:23 pm 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's not too hard if you spend some time on it - Visual Studio is a great help.

_________________
There is no spoon.
Mon Jun 21, 2010 7:59 pm View user's profile Send private message
rmplpmpl



Joined: 26 Oct 2008
Posts: 113
Location: Germany

Post Reply with quote
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.
Mon Jun 21, 2010 8:07 pm View user's profile Send private message
b0bA



Joined: 30 Dec 2008
Posts: 13

Post Reply with quote
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 Wink.
Wed Jun 30, 2010 12:51 pm View user's profile Send private message
guga



Joined: 02 Mar 2012
Posts: 17

Post Reply with quote
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...
Tue Apr 17, 2012 5:53 pm View user's profile Send private message
magnus



Joined: 05 Mar 2009
Posts: 20

Post Reply with quote
One mistake by 'tidying up' and the result is wrong. Be more careful.
Thu Apr 19, 2012 1:43 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.