HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Linear Data Structures: Arrays > problem:


51173 Question 5

Guest
• Review clarifications (2)

Section problems

• 51099 - Mr. Monk
• 50468 - Draw Matrix - 2
• 51096 - Guess the number - 2
• 50448 - Paint Buckets
• 50988 - Laplacian Filter
• 50269 - Matrix Determinant
• 50986 - The Oldest Person
• 50925 - Optimizing Elevator Usage
• 51173 Question 5
• 50334 - What is the class average?
• 50873 - Max Frequency
• 51009 - Sum of the nth row
• ECE - Question 1
• CEN - Question 1
• 51107 - Factorial
• Reflektimi i pikes
• 50972 - Division

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