HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50595 - Sum of the numbers

Guest
• Discussion of problem (1)

Section problems

• 51031 - Convert from Hex to Dec
• 51030 - Number of Right Triangles
• 50553 - Divisible by m
• 50554 - nth power of m
• 50565 - Binary numbers
• 50574 - Triangular Numbers
• 50578 - Mersenne prime
• 50581 - The roots of a quadratic eq...
• 50595 - Sum of the numbers
• 50599 - Sum of Squared Error (SSE...
• 50609 - Long division
• 50548 - Albanian Airlines
• 50243 - Sum of digits
• 50241 - Greatest common divisor
• 50240 - The numbers that are divisi...
• 50242 - Numbers whose sum of the...
• 50248 - Power of two

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.
Prepared by Ibrahim Mesecan.

Sum of the numbers

Shqip
Read two numbers and find out the sum of all numbers between them.
Input specification
There will be only two numbers in the input file which are between 1 ≤ n ≤ m ≤ 50000.
Output specification
Show sum of the numbers between the given numbers.
Input Output 1
5 10
45

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

www.contester.ru