Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我必须对 [1, 10^50000] 范围内的整数进行存储和运算。我该怎么做?首先如何存储如此大的整数值?而且,我如何随后对它们执行基本操作?
有专门的任意精度库可以帮助您解决这个问题。我成功的一项是GMP。