here is the code - https://ide.codingblocks.com/s/616364
Please let me know why one case is failing.
here is the code - https://ide.codingblocks.com/s/616364
Please let me know why one case is failing.
use long long int instead of int
all testcases will be passed