HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2016 > problem:


9-P1. 50896 - Sum of Even Numbers

Epoka Science Olympiad 2016

Start: Apr.11.2016 at 02:07:57 PM
Finish: Apr.24.2016 at 05:00:00 AM
The contest is finished!
• Contest scoreboard

Contest problems

• 8-P3. 50893 - Print All Numbers
• 8-P4. 50894 - ASCII Codes
• 8-P5. 50895 - Hours Minutes and Se...
• 9-1. 50957 - Divisible by 3
• 9-2. 50958 - Number of Passengers ...
• 9-3. 50959 - Draw the Pattern
• 9-4. 50960 - Number of Heart Beats
• 9-5. 50961 - Order of 3 Runner
• 9-P1. 50896 - Sum of Even Num...
• 9-P2. 50897 - Prime Number
• 9-P3. 50898 - Draw the Pattern
• 9-P5. 50900 - Put the Numbers in D...

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.

Sum of even numbers from a to b

 

You will be given two numbers a and b. Calculate and show the sum of even 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 even numbers from a to b.

 

Sample Input I   

Sample Input II  

4 10

2 28

Sample Output I   

Sample Output II

28

210

 

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

www.contester.ru