Wie man (a / b)% c berechnet, wobei a, b und c sehr große Zahlen sind [closed]
Ich habe eine Funktionf(x)=(1^1)*(2^2)*(3^3)*.....(x^x)
Ich muss @ berechn(f(x)/(f(x-r)*f(r)))modulo c
i kann f (x) und (f (x-r) * f (r)) berechnen. Nehmen wir an, f (x) ist a und f (x-r) * f (r) ist b. c ist eine Zahl, die sehr viel größer ist. `` also wie kann ich @ berechn(a/b)%c