On Tue, May 25, 2010 at 06:04:04PM +0530, Dhruva Sagar wrote:
> But the real reason I think that to be the case is because Debugging will
> not help you get the right algorithm, it will only help you find problems in
> the algorithm you thought of...

But that does help you find the right algorithm :)
During the contest I often choose a simpler algorithm that's less efficient
but which will save me on debugging and programming time.
If I had a faster way of debugging, then I could also choose more complicated
algorithms.

I'm not sure if I actually would, though. It's not just a matter of time.
There is also the risk that a mistake in the code makes you get the 'large'
input wrong. So I usually keep things simple.

(Often the faster algorithm is also simpler, but not always!)

-- 
Richard Braakman

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to