How to solve BBRICKS of codechef using matrix exponentiation ?

Правка en2, от shahianshu, 2018-11-02 17:10:55

Hello,

BBRICKS — link

in the editorial for the problem BBRICKS one of the guy posted his solution which uses matrix exponentiation to solve the problem and i couldn't make much from his solution on how to solve the question using matrix exponentiation, so if anyone could please just tell me how this problem can be solved using matrix exponentiation.

solution which uses matrix exponentiation

Even the editorialist has no clue on how to solve it using matrix exponentiation.

Thanks in advance :)

Теги bbricks, #codechef, #matrix exponentialtion, solution

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский shahianshu 2018-12-24 10:46:05 213 Tiny change: 'nentiation. ' -> 'nentiation very nicely . '
en2 Английский shahianshu 2018-11-02 17:10:55 85
en1 Английский shahianshu 2018-11-01 16:15:42 664 Initial revision (published)