Https://ide.codingblocks.com/s/308925


my 2nd test case failed to pass ,please see my code

use long long int instead of int
all testcase will passed

Modified Code

if you want to ask something about this feel free to ask
i hope this helps
if yes show your response with :heart: and don’t forgot to mark doubt as resolved