Hi everyone! Some days ago, I confronted to a hard problem and I could not solve it. Can you help me? The problem was: Given a and n(1 <= a, n <= 1000), b = (a ^ a) ^ (a ^ a), and return b mod n.
A Hard Task?
Hi everyone! Some days ago, I confronted to a hard problem and I could not solve it. Can you help me? The problem was: Given a and n(1 <= a, n <= 1000), b = (a ^ a) ^ (a ^ a), and return b mod n.