Hi,
I am currently practicing on topcoder platform . I often can see the
solution to problem , but unable to code it in registered time , I
often commit logic bluder , like condition for if , while etc.
I am coping with this problem for sometime and now I am frustrated ,
can help me out some sug
Stay calm. The costs of a debugging a bug are still relatively enormous in
terms of development time. Rushing has a negative expected value,
occasionally it will pay off when you hack out a solution that just works,
but most of the time being slow and deliberate will be much better (is this
off b
Hullo fame
By the fact that you are practicing on the topcoder platform, You should be
able to notice that logic blunders in the 'ifs' and 'whiles' are a result of
mixing up languages eg for perl and (C, C++,php,..), in perl relational
operators and equality operators depend on the type of data you
Nothing else just practice more and some plugins are recommended for
generating both the basic code and the test code more efficient.
good luck
On Tue, Aug 11, 2009 at 2:01 PM, Rob Renaud wrote:
> Stay calm. The costs of a debugging a bug are still relatively enormous in
> terms of development
>
> Stay calm. The costs of a debugging a bug are still relatively enormous in
> terms of development time. Rushing has a negative expected value,
> occasionally it will pay off when you hack out a solution that just works,
> but most of the time being slow and deliberate will be much better (is
Yes , I have to admit this , when I see solution , I instantly jolt
down to type it without even thinking , how will the actual solution
look like ,
Like the last time div2 500 , seeing the solution instantly I saw the
approach but then two blunders
1. I don't correct give order to my dx[] and d
>
> 2. Second As I have copy pasted the condition for two if's L and R I
> never changed the second if condition to 'R' until I was printing
> everything from my program for debugging.
Copy/Paste errors are very, very easy to make. I have two solutions:
1. Never copy/paste anything.
2. If you d