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.

Calculate the factorial n!

Threads: Enter a non-negative integer n, and print out n!
Input: A non-negative integer n.
Output: An integer value of n!
For example:

input:
2
output:
2

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

6 Comments

Add a Comment