Олимпиадный тренинг

Задача 7117. Error


A natural number N is given (N<=15). Fill and display a square two-dimensional NxN array according to the following rule:
1 0 0 0 1 
1 1 0 1 1 
1 1 1 1 1 
1 1 0 1 1 
1 0 0 0 1
 
Each element of the array is separated from another by one space, each line of the array is displayed on a new line
Sample Input and Output
Test No. Input data Imprint
1 5
1 0 0 0 1 
1 1 0 1 1 
1 1 1 1 1 
1 1 0 1 1 
1 0 0 0 1