#1551. C++-循环for-输入n(正整数),求出1~n(含)的和并输出
C++-循环for-输入n(正整数),求出1~n(含)的和并输出
Background
Description
C++-循环for-输入n(正整数),求出1~n(含)的和并输出
Format
Input
Output
Samples
100
5050
10
55
5
15
Limitation
1s, 1024KiB for each test case.
C++-循环for-输入n(正整数),求出1~n(含)的和并输出
100
5050
10
55
5
15
1s, 1024KiB for each test case.
By signing up a PaiBlockly编程创客平台图形模块编程软件系统 universal account, you can submit code and join discussions in all online judging services provided by us.