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

Разделы > Арифметика > задача:


50433 - Sum of Cubes

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

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

• 50296 - Total Discount Rate
• 50289 - Monthly Allowance
• 50403 - Number of Chairs
• 50408 - Molecules
• 50481 - Car Parking
• 50413 - Valid Permutations
• 50412 - K numbers
• 50417 - Fun Fair
• 50433 - Sum of Cubes
• 50807 - Euro to Leke
• 50871 - Harmonic Mean
• 50521 - Pound to Grams
• 50292 - Average of 4 Marks
• 50432 - Numbers and Squares
• 50510 - What floor are they?
• 50870 - ZScore normalization
• 50797 - Nr of Missing Guests

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

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

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

Sum of Cubes

You are given two integers (a and b). Calculate and show the sum of cubes from a to b.

Input specification
You will be given two integers (a and b) where 1 ≤ (a and b) ≤ 1000.

Output specification
Show one integer: sum of the cubes of the numbers from a to b.

Sample Input  
3 5
Sample Output  
216

Explanation: 27 + 64 + 125 = 216

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

www.contester.ru