String too big to initialize BigInteger in Java?
I am using a string with 80,000,000 characters (1 and 0) to initialize BigInteger in Java. It seems like it takes a very long time to initialize (so long in fact that I let it run for an hour before giving up. I made sure it got stuck on initialization and I wonder if the string is too big, too big? Any help would be greatly appreciated. Thanks guys.
+3
source to share
No one has answered this question yet
Check out similar questions: