Read title... Also, if you generate multiple test cases, how would you do it on a popup window. For example, Dev-C++ has the compile button which if you press it, it opens up a popup window where you can put in data. BTW, I am using GVIM. I saw Errichto's video, but he uses file input and output. Please help. 87387531. This test case consists of 2 strings both of length 1000.
Try to find a small case that breaks your code. Even if you did have a large test case that breaks your code you're probably not going to be able to debug it.
Just manually write small test cases and compare?
That usually works for me.
That takes some time...
If you don't want to spend time on things, do something easier -- like drinking a soda
That feeling when stopping to relax and drink a soda in contest is actually my most effective method of debugging code...