Points:
200
Time limit:
1.0s
Memory limit:
256M
Input:
stdin
Output:
stdout
Nhập vào số \(n (1 \le n \le 10^9)\), tính:
\[P = 1^3 + 2^3 + 3^3 + ... + n^3 \]
Hãy in ra \(P\) sau khi chia lấy dư cho \(2004010501\)
(tham khảo lời giải: link)
Comments