← Back to topics
Topic

z - orasi

m
msantl
Is anybody willing to look at my code and tell me what's wrong ?

http://www.z-trening.com/submit.php?subm_stat=1&submit=7100125899

After 34 tests it gets WA.
b
boris4
second number can be larger that long long :)
m
msantl
If i do bignums i get TLE. So, how do you divide a bignum fast enough ?
m
msantl
Never mind, modular operations were to slow.