fctrl2 codechef solution in c++ code example
Example: small factorial codechef solution
t=int(input())
for i in range(t):
x=int(input())
count=1
for i in range(x):
count=count*i
print(count)
t=int(input())
for i in range(t):
x=int(input())
count=1
for i in range(x):
count=count*i
print(count)