Submit


Author:
Problem type
Allowed languages
C, C++, Pascal
Points: 1700 (p) Time limit: 0.5s Memory limit: 256M Input: stdin Output: stdout

Hãy Tính Tổng từ \(i\)\(j\).

Input

  • \(1\) Dòng gồm \(2\) số nguyên dường \(i, j\). \((1 \le i \le j \le 10^{20})\).

Output

  • Kết quả bài toán. (không chia lấy dự in ra toàn số nguyên kết quả).

Example

Test 1

Input
1 10
Output
55
Note

\(1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55\).

Test 2

Input
1 100
Output
5050

Test 3

Input
123 1234
Output
754492

Comments

Most recent
Loading comments...

There are no comments at the moment.