Showing wrong answer in the test case


My sample input is showing the correct answer

hey @manit123, output for each testcase should be in new line. Add endl after printing output.

Thanks , my doubt is resolved