Okay thanks for the replies. I’m actually relatively new to competitive programming and have done 0 matrix exponentiation problems so far. I think I just need to learn the topic and then get some practice with it.
Okay thanks for the replies. I’m actually relatively new to competitive programming and have done 0 matrix exponentiation problems so far. I think I just need to learn the topic and then get some practice with it.