如何使用BigInteger做到这一点

嗨,我想编写此代码,但是使用BigInteger怎么做?

原始代码

int v=100;
ArrayList<Integer>[] lists; 
lists = new ArrayList[v];

我想要这个确切的代码,但不是Int,BigInteger可以吗?,我尝试这样做

BigInteger v=BigInteger.valueOf(100);
ArrayList<BigInteger>[] lists;
lists = new ArrayList[v]; 

显然不起作用,我想知道可以使用哪种数据结构。

niuliang1023 回答:如何使用BigInteger做到这一点

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3169682.html

大家都在问