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.
Very poorly framed question and test cases. Note 1- only if you edit in the exact place will your test cases pass. Otherwise even if "expected output" and "your output" matches word by word, it fails the test cases. Note 2- its onto us to figure out from the example that for "juniors" the limit is 50 and 100 for "seniors". Note 3- 0 remaining out of the budget is considered "budget limit crossed" condition. That is an open interpretation. but on submission, your test case would fail if remaingin=0 is not covered.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java Annotations
You are viewing a single comment's thread. Return to all comments →
Very poorly framed question and test cases. Note 1- only if you edit in the exact place will your test cases pass. Otherwise even if "expected output" and "your output" matches word by word, it fails the test cases. Note 2- its onto us to figure out from the example that for "juniors" the limit is 50 and 100 for "seniors". Note 3- 0 remaining out of the budget is considered "budget limit crossed" condition. That is an open interpretation. but on submission, your test case would fail if remaingin=0 is not covered.