# include "stdio.h"
int main(void)
{
int i,j;
double t,sum=0;
for(i=1;i<=100;i++)
{
t=1;
for(j=1;j<=i;j++)
t*=j;
sum+=t;
}
printf("和为:%.3lf\n",sum);
}
int main(void)
{
}