ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Разделы > Unsorted > задача:


50952 - Print All Numbers from N down to 0

Задачи раздела

• 50887 - Average of Test Scores
• 50904 - Print All Prime Numbers
• 50895 - Hours Minutes and Seconds
• 50902 - Translate Score into Grade
• 50938 - Translate Score into Grade
• 50890 - Convert Celsius to Fahrenheit
• 50958 - Number of Passengers in Train
• 50889 - Convert to Minutes and Sec...
• 50952 - Print All Numbers from ...
• 50900 - Put the Numbers in Descend...
• 50884 - Area and Perimeter Of The ...
• 51106 - Polar Bear
• 51109 - Integer to English
• 51110 - The area of a circle
• 51108 - First Unique Character
• 50899 - How Many Years
• 50551 - Kamelot

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.

Print All Numbers from N down to 0

Write program to print all the numbers from N down to 0.

Input: In the first line, you will get a positive integer (N).

Output: The numbers from N (N is included) down to 0. All separated by a space.

Sample Input1:

Sample Input2:

6

11

Sample Output1:

Sample Output2:

6 5 4 3 2 1 0

11 10 9 8 7 6 5 4 3 2 1 0

 

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

www.contester.ru