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

Турниры > SEM 2 - W5 > задача:


50293 - Sum of odd numbers from a to b

SEM 2 - W5

Старт: 04.апр.2023 в 16:12:08
Финиш: 10.апр.2023 в 20:12:08
Турнир завершён!
• Турнирная таблица

Гость
• Вопросы к жюри (2)

Задачи турнира

• 50293 - Sum of odd numbers fr...
• 50727 - Fibonacci Numbers
• 50782 - Max of N integers
• 50554 - Fuqia e n-t e m (2)
• 50783 - Numri me i vogel
• 1. 50381 - Sum of the numbers

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

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

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

Sum of odd numbers from a to b

You will be given two numbers a and b. Calculate and show the sum of odd numbers from a until b.

Input specification
You will be given the two integers a and b where 1 ≤ a < b ≤ 5000

Output specification
Show the sum of odd numbers from a until b.

Sample Input I
  4 10
Sample Input II
  2 28
Sample Output I
  21
Sample Output II
  195


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

www.contester.ru