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.
Who said you can't?
Both codes worked properly, & passed the test cases without errors.
So recheck your syntax and have a look at your code again to verify that you've written it the same way as above.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java Stdin and Stdout II
You are viewing a single comment's thread. Return to all comments →
Who said you can't? Both codes worked properly, & passed the test cases without errors. So recheck your syntax and have a look at your code again to verify that you've written it the same way as above.