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),. ↵
And b = (a ^ a) ^ (a ^ a), a. ↵
And return b mod n.↵
↵
↵
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)
And b = (a ^ a) ^ (a ^ a)
And return b mod n.