Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб. Prepared by Halil Karimis.
Pattern Displays
Question:
Write a program that displays a
pattern as below according to the entered
number.
Input specification
You will be given just one integer number (n)
which is 2 < n < 50.
Output specification
Print out the pattern that contains only the letter 'N'
and spaces according to the given number (n).
Sample Run I
3
Sample Output I
N N
NNN
N N
|
Sample Input II
5
Sample Output II
N N
NN N
N N N
N NN
N N
|
Для отправки решений необходимо выполнить вход.
|