found this problem in a book to compute a ^ b ^ c mod p where p is prime and a, b, c are long longs.
what can be the best way??
found this problem in a book to compute a ^ b ^ c mod p where p is prime and a, b, c are long longs.
what can be the best way??