Anticlockwise print

question: https://hack.codingblocks.com/contests/c/916/219
answer: https://ide.codingblocks.com/s/103140
'm getting the correct o/p but none of the testcase is verified

hey @dhruvika, the question link is inaccessible right now, can you share me screenshots of question.

hey @dhruvika, in main function take n= no of col, m =no of row In line no 43 ans 57 change n to n-1 and m to m-1.
Also there is no need to use this break statement.
I have made changes to your code , you can check them here https://ide.codingblocks.com/s/103398

why was my code not accepted?

hey @dhruvika, what error it is showing.

It’s not showing any error but my code is not accepted.

hey @dhruvika, I have made changes to you code, Check them here https://ide.codingblocks.com/s/105193

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.