I am not getting AC for solution discussed by prateek bhaiya in video

code:https://ide.codingblocks.com/s/227345
pl debug,


check out this solution crisp and understandable