What is wrong in this code - https://ide.codingblocks.com/s/365344

what is wrong in this code - https://ide.codingblocks.com/s/365344

hello @hssharma2212000 what is the error that your are facing ?

code is running fine for given example but not running testcase

showing wrong answer

wait let me see your code

hey @hssharma2212000 your logic is completely correct but there is just printing mistake as you need to print the result of every test case in the new line .


please see this code .