Why my testcase are failing?

Can you give me the test case for which my code is failing?

https://ide.codingblocks.com/s/232755 works fine,
try submitting on https://hack.codingblocks.com/app/practice/1/1068/problem

But, test case 2 and test case 4 are failing int this course, don’t know why? Can you please check?

May be there’s some issue at backend, don’t worry your code is fine!

Try to rectify the problem at backend due to space and newline mismatch

Pulkit these are very important, no online judge can ignore errors of space and newline

Ok, but here for some test cases it’s accepting new line and for some it’s accepting space

@pulkit_99 desired output format is always mentioned in problem! I hope this clears your doubt