Hide
Problem E
Triangular Numbers
Accepted submissions to this problem will be granted a score of 100
The
Input
Input consists of one line containing the integer
Output
Output consists of
Sample Input 1 | Sample Output 1 |
---|---|
1 |
1 |
Sample Input 2 | Sample Output 2 |
---|---|
5 |
1 3 6 10 15 |
Sample Input 3 | Sample Output 3 |
---|---|
8 |
1 3 6 10 15 21 28 36 |
Sample Input 4 | Sample Output 4 |
---|---|
0 |
Sample Input 5 | Sample Output 5 |
---|---|
15 |
1 3 6 10 15 21 28 36 45 55 66 78 91 105 120 |