Search found 4 matches

by kiddo
Mon Aug 30, 2010 5:35 am
Forum: C++
Topic: Bigger data type
Replies: 3
Views: 3714

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?
by kiddo
Sun Aug 29, 2010 12:26 pm
Forum: C++
Topic: Bigger data type
Replies: 3
Views: 3714

Bigger data type

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
by kiddo
Tue Aug 24, 2010 7:53 am
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 30624

Re:

mf wrote:Try

Code: Select all

16 10 1000000000
16 10 FEDCBA9876
Correct outputs:

Code: Select all

1000000000 base 16 = 68719476736 base 10
FEDCBA9876 base 16 = 1094624909430 base 10

great test cases, finally ACC.
Thx...
by kiddo
Tue Aug 24, 2010 7:23 am
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 30624

Re: 355 -runtime error why?

@mjad wrote: if i use strrev,why give me CE
please help me
Because strrev isn't ANSI Standard.
Make your own strrev function to reverse the string.

Go to advanced search