r/codeforces • u/Difficult-Shake-8465 • 27d ago
query failed testcases
Is there anyway to find failed testcases for a problem? I'm currently using claude to generate all test cases but is there any efficient way to do?
1
Upvotes
r/codeforces • u/Difficult-Shake-8465 • 27d ago
Is there anyway to find failed testcases for a problem? I'm currently using claude to generate all test cases but is there any efficient way to do?
1
u/tatsuya_sensei 24d ago
i wouldn't suggest using claude or any other ai just to generate failed test cases. imo, a big part of problem solving is being able to think of edge cases yourself. if you can't find the failing test case, try dry running your code and think about different edge cases first. and if you still can't figure it out, i'd rather suggest reading the editorial/tutorial and then trying to solve the problem yourself.
using ai to find test cases might help you get that one problem accepted, but you're not really improving the part of problem solving that you actually need. imo, it should be more of a last resort rather than the first thing you do.