for $1 \leq S \leq 10^9$ I need $S^{(S-1)^{(s-2)^{...^{1}}}} \mod{n}$
and there must be a way which a program written based on that returns the result for $S = 10^9$ in less than a second.
what is the efficient answer?
for $1 \leq S \leq 10^9$ I need $S^{(S-1)^{(s-2)^{...^{1}}}} \mod{n}$
and there must be a way which a program written based on that returns the result for $S = 10^9$ in less than a second.
what is the efficient answer?
Copyright © 2021 JogjaFile Inc.