[Timus 1766] How to apply Gaussian elimination?

Правка en1, от sheaf, 2019-02-09 19:52:12

Hello everyone. I've just solved Timus 1766. The solution has something to do with random walks and Markov chains (not going to describe it). The problem reduces to computing Av. I have solved it by raising a certain matrix A to sufficiently big power (2120 in my case). After reading problem discussions I've found out it could be computed using Gaussian elimination. Can anybody explain what does Gaussian elimination have to do with raising matrix to an infinite power?


  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sheaf 2019-02-09 19:52:12 599 Initial revision (published)