Logarithm with matrix
Exist matrix A and matrix B. A=power(B, n). How can I found n?
Codeforces Round 950 Solution Discussion