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.
i dont know what is the difference between 1.(x < Math.pow(2,63)) and 2.(x <= Math.pow(2,63)-1).i think both are same but if i write first statement in code two test cases fail but second one all test cases pass. plz any one elaborate it, thank you.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java Datatypes
You are viewing a single comment's thread. Return to all comments →
i dont know what is the difference between 1.(x < Math.pow(2,63)) and 2.(x <= Math.pow(2,63)-1).i think both are same but if i write first statement in code two test cases fail but second one all test cases pass. plz any one elaborate it, thank you.