Can someone give some good test cases for gears?coz I have tried 20-30 cases including edge cases and my code is giving the correct output...I am just going for 30 pts :/
well, I would help you, but since I don't know where in GEARS problem is located I can't. There are a lot of online programming competition website.
that aside, just make a little script that produces the test cases, that's how I do for programming competition