FCTRL2  Small factorials
You are asked to calculate factorials of some small positive integers.
Input
An integer t, 1<=t<=100, denoting the number of testcases, followed by t lines, each containing a single integer n, 1<=n<=100.
Output
For each integer n given at input, display a line with the value of n!
Example
4 1 2 5 3
Sample output:
1 2 120 6
hide comments
phoenix0o0:
20181123 12:59:47
Try not to do this problem in Java or python.


unseen07:
20181107 12:38:22
this is why I love python 

konraddylewski:
20181104 16:57:53
Hi Last edit: 20181104 16:58:23 

sydneyaldo:
20181010 16:53:32
People say to use string/array but I find that using vector much better 

chgon:
20180908 21:29:06
Represent integer in string if not using Java. 

anant6025:
20180904 18:48:25
If you dont know the array approach then i'll prefer that you must first learn it from the geeksforgeeks tutorial as it'll be really helpful in the coming future as well. 

dishant34:
20180828 18:35:28
Max integer is 100 and its factorial has more than 150 digits, so use the array. 

probeta:
20180828 18:21:42
Python always comes to the rescue in case of very very large numbers ! 

n1trob4ct3r:
20180822 19:11:19
easy. AC in one go. 

yoinfinite_25:
20180819 19:50:56
I keep getting 'wrong answer' in C. Tried calling a function after input of 'n' in a function. What am I doing wrong? 
Added by:  adrian 
Date:  20040528 
Time limit:  1s 
Source limit:  2000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All 