Ultra fast mathematicians problem

https://online.codingblocks.com/app/player/127473/content/109914/4720/code-challenge
https://ide.geeksforgeeks.org/xDCLtgfjSG
why is my code not running?

https://ide.geeksforgeeks.org/2Ejb7gGojn

Check now.