### My issue

### My code

```
#include<iostream>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
int sum=1;
for(int i=1;i<=n;i++)
{
sum*=i;
}
cout<<sum<<endl;
}
}
```

Problem Link: FCTRL2 Problem - CodeChef

@kiranmeena

The thing is u can’t calculate the factorial of number like the constraints have upto 100 value then for calculating 100! ,its can’t be stored in any datatype even in long long int too so have to do it my storing it in some datastructure like vector and perform basic multiplication one by one.

Like for 7!

first do:- 1* 1=1

then :- 1 * 2 =2;

then :- 2 * 3 = 6;

then 6 * 4 = 24:

then 2 4 (which is stored in vector like 2 at 0 index and 4 at one index) * 5 = 120

ansd so on…

hope u get it idea