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.
following after @TopazJ. My original grep about it was how would it close because the original challenge didn't ask for this or say something about how to close it with something other than an 'int'. But I guess this is a creative solution.
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 I
You are viewing a single comment's thread. Return to all comments →
Seems like the shortest solution is the following:
following after @TopazJ. My original grep about it was how would it close because the original challenge didn't ask for this or say something about how to close it with something other than an 'int'. But I guess this is a creative solution.