Can anyone help me what is wrong with this ?
Sumsums-Comp Prog
Hey Shashank
You’re not taking the input correctly. Try to fix your input code by printing the input you get.
Also you need to think of a better approach than iterative solution, since T is of the order of 10^9 and will result in TLE with iterative approach.