Write in C language
Description
Give you a matrix. Please output the elements in clockwise spiral order.
Input
First line is two integers m and n, shows number of rows and number of columns.
Followed m lines are content of the matrix.
Output
Elements of the matrix in clockwise spiral order.
Sample Input 1
Sample Output 1
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here