HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2016 > problem:


8-3. 50952 - Print All Numbers from N down to 0

Epoka Science Olympiad 2016

Start: Apr.11.2016 at 02:07:57 PM
Finish: Apr.24.2016 at 05:00:00 AM
The contest is finished!
• Contest scoreboard

Contest problems

• 7-4. 50948 - Translate Score into Gr...
• 7-5. 50949 - Vowel or Consonant
• 7-P1. 50886 - Even or Odd
• 7-P2. 50887 - Average of Test Scores
• 7-P3. 50888 - Extracting Digits
• 7-P4. 50889 - Convert to Minutes an...
• 8-1. 50950 - Biggest Number
• 8-2. 50951 - Odd Numbers
• 8-3. 50952 - Print All Numbers f...
• 8-4. 50953 - ASCII Codes - Reverse
• 8-5. 50974 - Area of the circle
• 8-P2. 50892 - Even Numbers
• 8-P3. 50893 - Print All Numbers
• 8-P4. 50894 - ASCII Codes
• 8-P5. 50895 - Hours Minutes and Se...
• 9-1. 50957 - Divisible by 3
• 9-2. 50958 - Number of Passengers ...

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.

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