|
|
back to boardusing Java.math.BigInteger really saves a lot of coding Hehe,,, normally i don't write Java code, but I am lazy this time :) Re: using Java.math.BigInteger really saves a lot of coding Posted by sylap 23 Dec 2012 13:59 YOU ARE REALLY LAZY : void MLT(int x) { int r = 0; REP(i,3000) { int init = ((res[i]*x)+r);
res[i] = init % 10; r = init / 10; } } Re: using Java.math.BigInteger really saves a lot of coding I know. :) |
|
|