C++ Buổi 09_Bài 12 - Nhà gần nhất


LÀM BÀI

Points: 10
Time limit: 2.0s
Memory limit: 20M

Author:
Problem type

Tính Sn=1+2+3+4+...+n (Lưu ý: Bài này không dùng vòng lặp được đâu nhé!)

Input

Số nguyên không âm n (0n108)

Output

Kết quả của bài toán

Input

Copy
1000000000

Output

Copy
5000000050000000

Input

Copy
5

Output

Copy
15

There is a critical bug in this problem. Please contact the problem author to fix it.


Comments

There are no comments at the moment.

Zalo