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.
Hey, I'm trying to do this one but it doesn't seem like its working. I've been pulling my hair for a while, and then when I added a little loop to display what inputs I've actually been given, it says the inputs are something different. Assuming I did this right it's only giving me the first set of inputs, theres nothing else at all in the query array. It's Java 8 if it makes a difference. Is there something I should be doing here, or did I break part of the pregenerated code or what? Thanks.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Two Robots
You are viewing a single comment's thread. Return to all comments →
Hey, I'm trying to do this one but it doesn't seem like its working. I've been pulling my hair for a while, and then when I added a little loop to display what inputs I've actually been given, it says the inputs are something different. Assuming I did this right it's only giving me the first set of inputs, theres nothing else at all in the query array. It's Java 8 if it makes a difference. Is there something I should be doing here, or did I break part of the pregenerated code or what? Thanks.