Help Needed

CodeChef | Competitive Programming | Participate & Learn | CodeChef
I tried this problem and also got the dezired output but still its showing error, kindly help me with this.

comment your full code

Your Code:

#include <stdio.h>

int main()
{
	int t,f;
	scanf("%d",&t);
	int arr[t];
	int rarr[t];
	for(int i=0;i<t;i++){
	    scanf("%d",&arr[i]);
	}
	for(int i=0;i<t;i++){
	  f=1;  
	    for(int j=arr[i];j>=1;j--)
	   {
	     f=f*j;  
	   }
	   rarr[i]=f;
	}
	for(int i=0;i<t;i++){
	    printf("%d",rarr[i]);
	    printf("\n");
	}
	return 0;
}