• + 0 comments

    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