I have problem finding a solution that need to use a bigger data type than 'long long'.
Maybe like Java Big Integer.
Is there a data type like Java Big Integer in C++?
Need help, A.S.A.P
Bigger data type
Moderator: Board moderators
Re: Bigger data type
No. Write one, or use a third-party library such as gmp.kiddo wrote:Is there a data type like Java Big Integer in C++?
Re: Bigger data type
will the grading system recognize gmp lib?
So, the only option I have to code it myself by using string operation?
So, the only option I have to code it myself by using string operation?
Re: Bigger data type
No, UVa judge doesn't allow third-party libraries.kiddo wrote:will the grading system recognize gmp lib?
Yes.So, the only option I have to code it myself
It's not very hard at all, except for the division.
Using arrays, yes.by using string operation?