Discussion About Virat and Factorials

This is Discussion thread about Virat and Factorials

#include

using namespace std;

int main()
{
int N,i,fact=1;
cin>>N;
for(i=1;i<=N;i++)
{
fact=fact*i;
}
cout<<fact;
return 0;
}
** why i am not able to pass test cases