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.
For me I used long long as type from the very beginning, but for test 11 when I pass out the number out of the function, the number changes to the wrong one even though when I print out the number in the funtion, the number was the exact right answer. I ended up with passing out a string to cheat the answer check and it worked..
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Journey to the Moon
You are viewing a single comment's thread. Return to all comments →
For me I used long long as type from the very beginning, but for test 11 when I pass out the number out of the function, the number changes to the wrong one even though when I print out the number in the funtion, the number was the exact right answer. I ended up with passing out a string to cheat the answer check and it worked..