Hey!
I am new to CP and I keep getting penalties for bad submissions during contests. In my last contest, I got 3, a heavy penalty... I know :/
It's usually a small thing that I missed before submitting (usually in the A and B problems) but I was wondering:
Do experienced CPs invest time in creating more test cases before submitting the code? any tips? ****
Sometimes creating test cases takes more than writing the solution. :/
Thxx
It shouldn't take you more than a minute to create an additional test case locally and to run it. I don't always do it but sometimes I'm not sure I'm handling weird edge cases correctly so I create one or two.
Were you always that fast?
Well if the problem input is just an array, it's not that complicated to make an array of size 1 to see if your code runs well with arrays of size 1. I don't think I'm particularly "fast" in that regard.
That is always something too check but in some observation problems there are sometimes possibity to miss some thing I feel and this improves as one practices. I am improving with that.