Run ID:100692
提交时间:2024-12-10 20:44:11
import sys for line in sys.stdin: n = int(line) S = n * (n + 1) // 2 print(S)