Getting 1 test Case failed Why?
Solution Link-https://ide.codingblocks.com/s/65973
line 31-> change int to long long int
Your code will work fine.
Hit like if u get it.
Sir please look query for Muruthal Parantha problem too which i asked just before this problem.
ThankYou
ok…it is very hard to debug your code (too lengthy) . Can u add comments in code so that I could get your logic.
I m marking this question resolved as the query for this question is resolved.