TNTczh @ 2023-08-23 15:37:33
#include<iostream>
using namespace std;
int main()
{
int a,b = 1;
cin >> a;
for (int i = a;i > 0;i--)
{
b = b * i;
}
cout << b;
return 0;
}
by ninji @ 2023-08-23 15:38:58
高精度(看一下数据范围)
by ninji @ 2023-08-23 15:39:22
@TNTczh 不会又是XXS吧
by 幻想繁星 @ 2023-08-23 15:40:43
@liuchenyu2022 ...
by TNTczh @ 2023-08-23 15:59:37
@ninji 我是czs?
by TNTczh @ 2023-08-23 16:00:28
@ninji 你才是xxs
by ninji @ 2023-08-23 16:06:23
@TNTczh 谁叫你问这么幼稚的问题?
请您下次看完数据范围再问。