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.
Hi~ In the test case have some value that equal to 2^53, the problem is in Javascript 2^53 + 1 === 2^53 .So maybe should think some way to handle the number large than 2^53.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Separate the Numbers
You are viewing a single comment's thread. Return to all comments →
Hi~ In the test case have some value that equal to 2^53, the problem is in Javascript
2^53 + 1 === 2^53
.So maybe should think some way to handle the number large than 2^53.