Code is failing for only 1 testcase?? Link to code : https://ide.codingblocks.com/s/200286
@Chirag-Jain-1414278322030453 use long long int in your code.