#include<stdio.h>
int main()
{
int n,i,j;
unsigned long long sum=0,ret=1;
scanf("%d",&n);
for(i=1;i<=n;i++)
{for(j=1;j<=i;j++)
{ret*=j;
}
sum+=ret;ret=1;
}
printf("%llu",sum);
return 0;
}
标签:return,11.19,int,sum,long,ret,include From: https://blog.51cto.com/u_15758636/5870611