Problem: Ultra Fast Mathematicians
I am getting runtime error(see the screenshot below).
But the same code was accepted in hack.codingbocks
How the same code got accepted in hack blocks but here failing with runtime error?
Please help me in optimizing my code(link - https://ide.codingblocks.com/s/372138)