llll02 @ 2022-10-22 22:45:44
#include<iostream>
using namespace std;
int main()
{
int n,s=0;
cin>>n;
for(int i=1;i<=n;i++){
int jc=1;
for(int j=1;j<=n;j++){
jc*=j;}
s+=jc;
}
cout<<s<<endl;
return 0;
}
by Saka_Noa @ 2022-10-22 22:52:34
显然需要高精度