Adding large numbers and calculate modulo

Exmaple:
112121276783621784678236478236478623784672364782367846237846782364782367846238 + 783627846782364786237846782364782367846237846782364782367846237846237864782367846238

It should be efficient and fast. It is useful to calculate the Factorial 100000, and then I calculate the number of the module.

Example:
132142344564378657834657834657863785634786578346578346785634785678653478 % 124623874

what is the code?

No puedo usar la libreria BIGINTEGER. It should be efficient and fast
HELP
what is the code?

Where is your code?
If you want speed, then use gmp. http://gmplib.org/

Topic archived. No new replies allowed.