Tính tổng S1


Submit solution

Points: 1 (partial)
Time limit: 10.0s
Memory limit: 15M

Problem type

Viết chương trình tính tổng S, với n nguyên dương được nhập vào từ bàn phím: s=1+2+,,N

Input 1
Copy
3
Output 1
Copy
6
Input 2
Copy
4
Output 2
Copy
10

Comments

There are no comments at the moment.