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.
Your answers are not correct for test case 1, my code is failing even though it performs a no on this case.
int k = 7;
int a[] = {26,94,-95,34,67,-97,17,52,1,86};
You have this as cancelled. You can clearly see that there are 8 positive and 2 late therefore the answer is and should be NO, that the class is not cancelled. Can you please explain why you have it marked as YES?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Angry Professor
You are viewing a single comment's thread. Return to all comments →
Your answers are not correct for test case 1, my code is failing even though it performs a no on this case.