My code is only able to pass first test case

code link: https://ide.codingblocks.com/s/236494

there was a issue at backend
getting it corrected
u can submit the same code in some time
it should be working fine