Https://hack.codingblocks.com/practice/p/373/1226

https://hack.codingblocks.com/practice/p/373/1226

Please tell what is wrong with my code?
It is passing 3 test cases but failing on another 3.
Code id: https://ide.codingblocks.com/#/s/30767

https://ide.codingblocks.com/#/s/30791

you have to take the variables as long long.