pk842's blog

By pk842, history, 6 years ago, In English

prob : http://mirror.codeforces.com/contest/351/problem/C

I've read the editorial but didn't understand the matrix exponentiation part. I've also read the comments but didn't get it. can someone please explain that concept.

Thanks in advance :)

  • Vote: I like it
  • 0
  • Vote: I do not like it