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

Разделы > Сортировка и последовательности > задача:


50358 - Series of Odd Numbers

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

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

• 50738 - Median value
• 50317 - Student Line Up
• 50311 - Student Line Up
• 50736 - Top N Donors - 2
• 50333 - Series of Squares
• 50734 - Product Info (In Srt)
• 50364 - Student averages
• 50733 - The Highest Average
• 50358 - Series of Odd Numbers
• 50756 - Average of the Nth Student
• 50347 - Selling Oranges
• 50758 - National Elections - Revisited
• 50757 - National Elections - 1
• 50755- Top N Donors - 1
• 50290 - Minimax Sum
• 50339 - The Largest Rectangle
• 50753 - Average of the Nth Student

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

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

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

Write a program to print series of odd numbers starting from (m) and as long as the printed numbers are smaller than or equal to the given number (n).

Input specification
You will be given two integers (m, n) which are greater than 1 and are less than or equal to 100.000.   1 < m < n ≤ 100.000.

Output specification
The numbers will be space separated. And, you give endline after every hundreds. e.g.
        ... 97 99
        ... 197 199
        ... 297 299
        ...

Sample Input I
100 117

Sample Output I

101 103 105 107 109 111 113 115 117

Sample Input II
4 10

Sample Output II
5 7 9

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

www.contester.ru