Sum of even numbers#8278

Sum of even numbers

1 Sekunde
128 Megabyte
Leicht

Find the sum of even numbers on a segment from to inclusively.

Eingabe

Two integers and (a \leq b), no more than 10^9 by absolute value.

Ausgabe

Print the sum of even numbers on a segment from to inclusively.

Beispiele

Beispiel 1

Loading
Loading