Not able to understand why test cases are not passing here is my code : https://ide.codingblocks.com/s/369377
Test cases are not passing
use long to incorporate the constraints
changed int to long still not even a single test case is passing, code: https://ide.codingblocks.com/s/373605
refer to this code ->