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
Related Q & A:
- In a job interview: What is the best answer when asked on weakness?Best solution by Yahoo! Answers
- What are the possible jobs for an IT students like me?Best solution by Quora
- What are medical reasons to get a nose job?Best solution by ChaCha
- What is it like working for CSX as a track worker?Best solution by Yahoo! Answers
- What are main reasons to attend a college?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.