Small Factorials
Practice
4.1 (161 votes)
Ad Hoc
Problem
81% Success 2215 Attempts 20 Points 3s Time Limit 256MB Memory 1024 KB Max Code

You are asked to calculate factorials of some small positive integers.

InputAn integer T, denoting the number of testcases, followed by T lines, each containing a single integer N.

Output For each integer N given at input, output a single line the value of N!

Input Constraint

1 <= T <= 100 1 <= N <= 100

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:20
33 votes
Tags:
ApprovedBasic ProgrammingEasyOpenTwo dimensional
Points:20
123 votes
Tags:
Basic ProgrammingApprovedEasy
Points:20
47 votes
Tags:
EasySearching