my code https://ide.codingblocks.com/s/38943
ques https://hack.codingblocks.com/contests/c/526/1052
It is giving TLE for some and wrong ans for other test cases
what’s wrong in this
and please tell some other approach for this ques as well
my code https://ide.codingblocks.com/s/38943
ques https://hack.codingblocks.com/contests/c/526/1052
It is giving TLE for some and wrong ans for other test cases
what’s wrong in this
and please tell some other approach for this ques as well