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
shivltd:
20170621 19:24:11
True happiness is completing this in c++ by creating your own big number range from scratch and no resources.


tusharuppal:
20170618 11:24:49
basic qn....AC in one go ;) 

bhawna_123:
20170617 19:18:01
If u are a c/c++ programmer just read their tutorial of same problem.


leafbebop:
20170605 13:51:04
Note for golang: There is a method called "MulRange" somewhere. 

kartiks22:
20170603 16:58:02
0.00s cpp


syamphanindra:
20170525 14:13:58
what the hell i submitted the same solution in cpp it gave me WA thrice but only changing headers and converted to C it gives me AC!! why this happens 

monsij98:
20170523 20:50:35
@keerthi_97524:Factorial of zero is one 

ankit1cool:
20170523 13:33:10
cakewalk using python


s_a_h_i_l_ahu:
20170515 16:37:16
i m getting answer upto 35! correct...... but after that it is giving wrong answer.....what could be the problem


aditibora:
20170510 11:13:13
if a user enters t=4 and three values of n within the range but one value of n>100 what should the program behave like? Please specify. 
Added by:  adrian 
Date:  20040528 
Time limit:  1s 
Source limit:  2000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All 