code is working on ide but not on codechef. what’s the problem?
#include <stdio.h>
int main()
{
unsigned long long int t,n,fact=1;
printf("enter number of lines");
scanf("%llu",&t);
if(t>=1 && t<=100)
for(int i=0;i<t;i++)
{
printf("\n Enter number");
scanf("%llu",&n);
if(n>=0&&n<=100)
{
fact=1;
for(int j=1;j<=n;j++)
{
fact=fact*j;
}
printf("\n factorial is %llu",fact);
}
}
return(0);
}