题解 | #小乐乐求和#
小乐乐求和
http://www.nowcoder.com/practice/ce0b2eacd3d04647831358c2876e44ff
n = int(input())
sum = (1+n)*n//2
print(sum)
小乐乐求和
http://www.nowcoder.com/practice/ce0b2eacd3d04647831358c2876e44ff
n = int(input())
sum = (1+n)*n//2
print(sum)
相关推荐