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

Сборники > Фёдор Меньшиков. Тренировки > задача:


001. 50385 - From m to n

Гость
• Обсуждение задачи (1)

Задачи сборника

• 153. 50368 - Right-most non zero d...
• 155. 50379 - a^b modulus k
• 158. 50404 - Sum of Self Powers
• 30. 50764 - Fast Typing Competition
• 50303 - Pattern
• 50882 - FizzBuzz
• 50308 - IT Knowledge Seminars
• 50320 - Random Sorted List
• 001. 50385 - From m to n
• 002. 50365 - Sum of the numbers f...
• 002. 50452 - Multiplication Table
• 003. 50387 - Passengers in the Train
• 006. 50293 - Sum of odd numbers f...
• 007. 50401 - Sum of Odd Numbers
• 009. 50783 - Numri me i vogel
• 010. 50782 - Max of N integers
• 015. 50466 - Drawing Square From...

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

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

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.
Question by Ibrahim Mesecan. Сложность Альфа

Show numbers from m down to n

Question:
Write a program that shows the numbers from m down to n with the steps of k.

Input specification
You will be given three integer numbers (m, n, k) where 0 ≤ n < m ≤ 30000 and 0 < k ≤ 100.

Output specification
Show the number series separated by spaces.

Sample Input I
  50 26 4
Sample Input II
  28 21 3
Sample Output I
  50 46 42 38 34 30 26   
Sample Output II  
  28 25 22


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

www.contester.ru