BeneficialYam7 | 1 points | Jul 14 2021 00:43:25

How to convert n factorial into a String?

For example, 25! = "15511210043330985984000000" as a string.

[-] Aidenfred | 5 points | Jul 14 2021 02:05:38

什么编程冲浪论坛

[-] SquirtleCringe | 4 points | Jul 14 2021 00:57:47

str(25!)

[-] BeneficialYam7 | 2 points | Jul 14 2021 01:04:46

我是用BigInteger做的。

[-] Naive_Might8074 | 3 points | Jul 14 2021 01:08:15

写个大数乘法

[-] Ergosphere2718 | 2 points | Jul 14 2021 08:24:53

return “String”

[-] [deleted] | 1 points | Jul 14 2021 00:47:52

[deleted]

[-] [deleted] | 1 points | Jul 14 2021 00:52:58

[deleted]

[-] 1145141919810893931 | 1 points | Jul 14 2021 03:43:53

java的话可以直接tostring()的吧? 记得bigint也有这个。

[-] Altruistic_Potato850 | 1 points | Jul 14 2021 05:22:35

String()