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.
Are all the test cases are correct, some of them are seems wrong mathematically
ex:
one of the test case input is
1 384
5 899954391 390010037 470009874 789620942 589990574
Expected output is 324
but when we calculate with mathematical expression the answer is 273
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Maximize It!
You are viewing a single comment's thread. Return to all comments →
Are all the test cases are correct, some of them are seems wrong mathematically ex: one of the test case input is 1 384 5 899954391 390010037 470009874 789620942 589990574 Expected output is 324 but when we calculate with mathematical expression the answer is 273