What are promotional techniques working best for you and why?

What are the reasons or the root cause that in most of the sport programming (like in codechef) the properly working code does give a wrong answer?  What the best possible techniques to avoid such?

  • Answer:

    This will happen because you would not have thought properly about all the corner cases for testing your program. Start practicing on websites which provide the test cases against which your program is tested, like http://codeforces.com. This will help you figuring out which are the cases for which your program gives wrong output.

Arpit Solanki at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.