#A081. for循环求和
for循环求和
说明
利用for循环。计算输出 的和。
输入格式
输入。对于100%的数据,。
输出格式
一行一个整数。
样例
10
55
利用for循环。计算输出 1+2+3+...+n 的和。
输入n。对于100%的数据,1≤n≤100。
一行一个整数。
10
55
By signing up a 黑猫OJ universal account, you can submit code and join discussions in all online judging services provided by us.