请问一下怎么错了?
#include <stdio.h>void main()
{
int a,b;
b=1;
for(a=1;a<21;a++)
b=a*b;
printf("%d\n",b);
}
[此贴子已经被作者于2019-1-15 21:45编辑过]
#include <stdio.h> int main( void ) { unsigned long long f = 1; for( unsigned i=1; i<=20; ++i ) f *= i; printf( "%llu\n", f ); }