Problems
Spiral
Spiral
Fill the array of size n × n with ones by spiral (see sample).
Input
One odd positive integers n, not greater than 50.
Output
Print the built spiral. The middle cell must contain 0.
Input example #1
7
Output example #1
1111111 0000001 1111101 1000101 1011101 1000001 1111111