eolymp
bolt
Try our new interface for solving problems
Problems

Product

published at 2/17/23, 9:34:00 pm

OtarMurmanishvili it passes only 51% of the tests duh

published at 2/17/23, 10:18:04 pm

Interesting problem. I enjoyed it very much.

I used standard java BigInteger to solve it with some tweaks. Interesting discovery was that converting String into binary representation was by far longest operation (reading input-20ms, convertion-1600ms, multiply-150ms, to string-800ms)