HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > HW1_CEN109_2017 > problem:


5. 51173 Question 5

HW1_CEN109_2017

Start: Jan.20.2018 at 11:48:29 AM
Finish: Jan.28.2018 at 05:00:15 AM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (2)

Contest problems

• 1. 51165 Question 1
• 2. 51175 Question 2
• 3. 51171 Question 3
• 4. 51172 - The biggest Minute
• 5. 51173 Question 5

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.
Question by Xhoendi Collaku.

Write a program where the user should input a number k (number of rows), where 0 < k <= 70.

The Output should be as in the following example, where numbers in line are separated by space.

if  k<=0 OR K>70 show: 0

Sample Input 1
8
Sample Output 1
1
2 3
4 5 6
7 8 9 1
2 3 4 5 6
7 8 9 1 2 3
4 5 6 7 8 9 1
2 3 4 5 6 7 8 9 
Для отправки решений необходимо выполнить вход.

www.contester.ru