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

Why 1 test case is failing … ??

use long long int instead of int
all testcase will pass

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

Thanks Buddy <3 <3 <3 <3 <3