Wrong Answer
代码
#include<stdio.h>
int main()
{
long int a, total=1;
scanf("%ld", &a);
for (long int i=a; i>0; i--)
total *= i;
printf("%ld", total);
return 0;
}
#include<stdio.h>
int main()
{
long int a, total=1;
scanf("%ld", &a);
for (long int i=a; i>0; i--)
total *= i;
printf("%ld", total);
return 0;
}