Giant_Breast @ 2022-07-01 18:00:27
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,c=0;
cin>>a;
for (int j=1;j<=a;j++)
{
int b=1;
for (int i=1;i<=j;i++)
{
b=b*i;
}
c=c+b;
}
cout<<c;
}
by ChickenDrinkingMilk @ 2022-07-01 18:03:35
高精!
by wtcqwq @ 2022-07-01 18:04:23
能不能帖子名称起的正常一点啊
by Fyl0009 @ 2022-07-01 18:04:31
要用高精度,仔细看题目
by 拾然z @ 2022-07-01 18:15:05
用python就是水题
by Xeqwq @ 2022-07-01 18:15:10
能不能帖子名称起的正常一点啊
by BantM @ 2022-07-01 18:49:27
sos不是这么用的