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.
HackerRank is being very awful right now with their transparency for test cases. When you submit the code, it only shows 2 test cases. And they pass. However when submitting the code, you have several more tests, and it pasts all of them except the 7th. Very awful system because you aren't even telling me the parameters of the 7th test. Think this might be the end of my time here on HackerRank
Java If-Else
You are viewing a single comment's thread. Return to all comments →
HackerRank is being very awful right now with their transparency for test cases. When you submit the code, it only shows 2 test cases. And they pass. However when submitting the code, you have several more tests, and it pasts all of them except the 7th. Very awful system because you aren't even telling me the parameters of the 7th test. Think this might be the end of my time here on HackerRank
if(N % 2 == 1){ System.out.println("Weird."); } else if(N > 2 && N < 5){ System.out.println("Not Weird."); } else if(N > 6 && N < 20){ System.out.println("Weird."); } else System.out.println("Not Weird.");