Giant_Breast @ 2022-07-01 17:15:58
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b=1,c=0;
cin>>a;//3
for (int j=a;j>=1;j--)
{
for (int i=1;i<=j;i++)
{
b=b*i;
}
c=c+b;
b=0;
}
cout<<c;
}
by irris @ 2022-07-01 17:17:16
by 凤南天 @ 2022-07-01 17:17:26
@Npsy202209 您需要高精度
by 123nono @ 2022-07-07 12:28:15
C++14(GCC 9)语言怎么写代码?
by space_sea @ 2022-08-12 20:11:47
@123nono用电脑写