why give error
#include
using namespace std;
int main() {
int t;
long long int n[100];
cin>>t;
if(t>=1 && t<=100){
for(int i=0;i<t;i++){
cin>>n[i];
}
}
for(int i=0;i<t;i++){
int k;
k=n[i];
int f=1;
while(k>0){
f*=k;
k--;
}
cout<<f;
cout<<endl;
}
return 0;
}