Test cases 0, 1, and 4 not solved

I’m unable to solve test cases 0, 1, and 4.

Code Link: https://ide.codingblocks.com/s/562347

hello @parikshitpanwar

in case of no , u dont have to print s