ez math


Submit solution

Points: 100 (partial)
Time limit: 1.0s
Memory limit: 256M

Author:
Problem types

輸入一個正整數n,輸出1~n的正整數之和

輸入格式

一個正整數n

輸出格式

答案

限制:1 \(\le\) n \(\le\) 1,000,000

Sample Input

3

Sample Output

6

Comments


  • 0
    Howshuang  commented on Sept. 29, 2024, 7:37 a.m.

    EZ