OneCompiler

Tests failing

I created a Challenge Problem that had three tests. The fisrt two would pass, but the third would fail, (eventhough it was correctly formatted and matched the same input when running before Submit.)

After fiddling with it, I just deleted the third test, and then the second test would fail. I deleted that one and then the first test fails. These tests passed before this. It seems that there may be an issue with successive tests? It hasn't happened consistently, but I have experienced this a couple of times with other Challenges. My workaround was to delete the Problem and start fresh. What can I be doing that is causing this? Is there a way that I can avoid this?

1 Answer

1 year ago by

@Alan Gandy as of today the tests order is not guaranteed, I can see it's confusing we will fix that so that you will see the results in the same order.

In your case the first testcase might have had the problem.

1 year ago by Karthik Divi