+ 2

Challenges

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

12th Apr 2020, 5:38 AM
Naol
Naol - avatar
4 Respostas
+ 5
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.
12th Apr 2020, 5:53 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 2
Yea it checks for 2 possible inputs but the others locked
12th Apr 2020, 5:56 AM
Naol
Naol - avatar
+ 2
Thanks
12th Apr 2020, 10:07 AM
Naol
Naol - avatar
+ 1
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.
12th Apr 2020, 6:44 AM
Rik Wittkopp
Rik Wittkopp - avatar