WEBSITE RETURNED, HOWEVER SUBMIT QUANTITY IS RESTRICTED PER DAY TO VERY LITTLE (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

Total number of 1 to the N

Threads: Enter an integer n. Refined total numbers from 1 to the N.
Input: An integer n.
Output: An integer is the sum of the number of words 1 to the N.

For example:

input:
3
output:
6

You are not logged in? Log in to Submit Now!

Add a Comment