HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2013-2015 > problem:


2013-10Gr-40. 50313 - Pattern Displays

Epoka Science Olympiad 2013-2015

Start: May.18.2013 at 10:00:00 AM
Finish: May.18.2013 at 03:00:00 PM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (1)

Contest problems

• 503013 - DNA
• 50958 - ATM
• 2013-10Gr-10. 50310 - Kinetic Energy
• 2013-10Gr-20. 50311 - Student Line Up
• 2013-10Gr-40. 50313 - Pattern ...
• 2013-11Gr-10. 50314 - Falling Distance
• 2013-11Gr-20. 50315 - Pig Latin
• 2013-11Gr-30. 50316 - Population B...
• 2013-11Gr-40. 50317 - Student Line Up
• 2014-10Gr-10. 50424 - Area
• 2014-10Gr-20. 50417 - Fun Fair
• 2014-10Gr-30. 50418 - Student ave...
• 2014-10Gr-40. 50429 - Secret Message

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
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


Для отправки решений необходимо выполнить вход.

www.contester.ru