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.

Print the numbers 1 to the N

Threads: Enter an integer n. Print out the number from 1 to the N.
Input: A single integer n
Output: A line consists of numbers separated by spaces from 1 to the N.
For example:

input:
3
output:
1 2 3

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

9 Comments

Add a Comment