Challenges | Sololearn: Learn to code for FREE!



What does challenge failed and test cases closed means even if my results match with the expected one

4/12/2020 5:38:38 AM


4 Answers

New Answer


When you make a code for code coach, system try to run it with multiple different inputs. Your code maybe okay for perticular inputs but it fail for others. You need to make sure you complete all conditions asked in question.


Yea it checks for 2 possible inputs but the others locked




As 🔫 Rick Grimes stated, you need to ensure your code will meet all possible requirements of the stated problem. They lock certain problems to make you think deeper into the reason why your code is not passing all tests. It also encourages you to research why your code may not be successful. Sometimes we must learn more about the subject before we can code how to achieve the objective.