include<stdio.h>int main() { int t,n, arr[100], fact=1,k; scanf("%d", &t); for(n=0; n<t; n++) { scanf("%d", &arr[n]); } for(n=0; n<t; n++) { for(k=1; k<=arr[n]; k++) { fact=fact*k;
fact=1; } asked 13 Sep, 20:33

You are not logged in. Please login at www.codechef.com to post your questions!
×CodeChef Discussion 
include<stdio.h>int main() { int t,n, arr[100], fact=1,k; scanf("%d", &t); for(n=0; n<t; n++) { scanf("%d", &arr[n]); } for(n=0; n<t; n++) { for(k=1; k<=arr[n]; k++) { fact=fact*k;
fact=1; } asked 13 Sep, 20:33

Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Question tags:
question asked: 13 Sep, 20:33
question was seen: 31 times
last updated: 13 Sep, 20:33