Logarithm with matrix
Exist matrix A and matrix B. A=power(B, n). How can I found n?
ICPC NA North Central and South Division