#include
void main()
{
int t=1;
int s = 0;
for(int i=1;i<=20;i++)
t=t*i
s=s+t;
printf("i=%d时,s=%d\n",i,s);
}
printf("%d", s);