lijiatu123 @ 2022-10-19 20:31:20
#include<stdio.h>
int main()
{
long n,b=1,a=1,s=0;
scanf("%ld",n);
while(b<=n)
{
a*=b;
b++;
s+=a;
}
printf("%ld",s);
return 0;
}
by CH_mengxiang @ 2022-10-19 20:32:12
你这叫高精度吗?
by linzhaoyumc @ 2022-10-19 20:32:35
您真的知道什么是高精度吗(
by CH_mengxiang @ 2022-10-19 20:32:47
冷知识:long和int是一个东西
by OoXiao_QioO @ 2022-10-19 20:33:27
@chentengqi123 这不是高精度
by OoXiao_QioO @ 2022-10-19 20:33:48
@chentengqi123 你自己不会用还怪人家 long
类型?
by CH_mengxiang @ 2022-10-19 20:35:33
想要代码就直说
by lijiatu123 @ 2022-10-19 20:40:53
对不起哥刚刚学c语言
by YGB_XU @ 2022-10-19 20:40:59
少点戾气
by liuxy1234 @ 2022-10-19 20:42:04
@YGB_XU 有没有一种可能断句是对不起哥/刚刚学c语言
by YQsunny @ 2022-10-19 20:45:56
乐