Array wave print column wise doubt

sir please rectify my mistakes
it still does not test cases

Try to submit this,it this doesn’t pass reply here only.


Cause code is working fine for multiple test cases.

sir the code u asked to try, i tried it but it doesn’t pass

and sir while compiling code output does not match the ans of sample input

i have manually run all the test cases,
submit it here -> https://hack.codingblocks.com/app/contests/2136/471/problem
all test cases are getting passed using this code

passed .thank u sir.

sir in previous code i didn’t put space after comma.does that affect code ??

All matter is Output format. never ignore it.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.