利用for循环。计算输出1+2+3+...+n1+2+3+...+n1+2+3+...+n的和。
输入nnn。对于100%的数据,1≤n≤1001≤n≤1001≤n≤100。
如题述,之和。
10
55
In following homework:
23_0611循环
21_0712陈嘉熙
张23
eeee
wen99999
wen10
灯光下的阴影8
步小宝0501
24计算机3班函数
liu110
By signing up a Online Judge universal account, you can submit code and join discussions in all online judging services provided by us.
Using your Online Judge universal account