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.
A Very Special Multiple
A Very Special Multiple
Sort by
recency
|
6 Discussions
|
Please Login in order to post a comment
This problem is a duplicate: https://www.hackerrank.com/challenges/easy-math
Can someone explain why the answer to X=81 is Z=162?
With manual calculations, I get Q=400,000,000,000,000,000 (Z=19) as the answer.
Am I missing something?
gosh!! my c solution
Any hints or advice ? I'm stuck at this problem for quite some time.
second test case can't be solved with javascript without special package for big numbers (at least it there no some numerical trick, which i do not know) as for x = 62, 67 etc. looks like some arithmetics give wrong results. My solution gives wrong answers for second test case while using regular operations, and correct answers when use 'big-integer' package