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
nitish_garg503:
20160806 08:29:43
import java.util.*;


xtaldew:
20160727 16:46:12
Actually, I cant find what wrong wiith my code! :(


square1001:
20160716 03:10:12
Source limit 2000B is so strict.


alphastar:
20160706 07:55:13
Don't do it in python or java. If you do you won't learn anything new. 

shubh11:
20160703 21:33:11
seriouly.........100! comes under small factorials


spartax:
20160630 16:15:09
newline sucks !! 

shashisuman:
20160626 20:23:18
JAVA 0.11 Oh Yeahhhhh. and for java users calculation in only main class no extra classes 

abhash_yadav:
20160602 13:25:15
showing wrong answer only because i had'nt put a newline after answer,though giving right answer


thevillager:
20160601 07:27:23
used array & got AC. coz u won't be able to solve 100! without arrays. 0.00 Last edit: 20160601 08:24:15 

get_right_jr:
20160531 10:37:56
Source limit = 2000B !?

Added by:  adrian 
Date:  20040528 
Time limit:  1s 
Source limit:  2000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All 