We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
There's one thing I don't understand: some of the test cases are failing and there's a note there saying "Hidden test cases are used to evaluate if your code can handle different scenarios, including corner cases." Does that mean the input may break the explicitly stated constraints and I should check it anyway? What should I do when the checks fail then? The assignment would be either wrong or unclear in such case.
Note that I can't see the the output of those failed test cases so I don't really know what's wrong - however, one of the failed inputs seem to have an extra new line et the end.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Compute the Average
You are viewing a single comment's thread. Return to all comments →
There's one thing I don't understand: some of the test cases are failing and there's a note there saying "Hidden test cases are used to evaluate if your code can handle different scenarios, including corner cases." Does that mean the input may break the explicitly stated constraints and I should check it anyway? What should I do when the checks fail then? The assignment would be either wrong or unclear in such case.
Note that I can't see the the output of those failed test cases so I don't really know what's wrong - however, one of the failed inputs seem to have an extra new line et the end.