my sol : https://ide.codingblocks.com/s/240708
ques : https://hack.codingblocks.com/app/contests/1463/141/problem
i m not able to find any error in my sol, the sample tc is giving correct ans too. But all tcs are giving wa on hackerblocks
Pls help me out