// Đề bài
Output the sum 1 + 2 + ... + n.
// Đầu vào
A single integer n (1 <= n <= 10^9).
// Đầu ra
The value of n(n+1)/2.
// Gợi ý
Use the closed-form formula; mind 64-bit overflow.