Problem Source: http://www.lightoj.com/volume_showproblem.php?problem=1244 Please Help Me!! I am recently learning Matrix exponentiation and it is a problem that seems to me very hard....I cannot get any clue about moving....Please give me hints or solution approach (pls don't share code I wanna try myself :3) Thanks in advance :D