Problem Code - FCTRL2
here is my code
#include
#include<math.h>
using namespace std;
#define ll long long
int main()
{
int t;
cin >> t;
for(int j=0;j<t;j++)
{
int i,f=1,n;
cin >> n;
for(i=1;i<=n;i++)
{
f=f*i;
}
cout << f << endl;
}
}
can anyone tell what’s the problem with my code