504 - Random number

All about problems in Volume 5. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
cplusplus
New poster
Posts: 13
Joined: Fri Feb 07, 2003 10:20 pm

504 - Random number

Post by cplusplus »

I have spend 3 weeks on this problem....
I implement a BigInteger class to solve this problem....but it's too slow...
I think there must be an effective algorithm to solve this problem...
I almost spent all of my time on this....
Can anyone please give me a hint,please??
Thank you very much
cplusplus
New poster
Posts: 13
Joined: Fri Feb 07, 2003 10:20 pm

Re: 504 te

Post by cplusplus »

cplusplus wrote:I have spend 3 weeks on this problem....
I implement a BigInteger class to solve this problem....but it's too slow...
I think there must be an effective algorithm to solve this problem...
I almost spent all of my time on this....
Can anyone please give me a hint,please??
Thank you very much
Thx, everyone
I have solved this problem
I found my BigInt is to slow in operator+=
after I modify it, I get AC(PE)
Thx for your help
Post Reply

Return to “Volume 5 (500-599)”