Codeforces и Polygon могут быть недоступны в период с 23 мая, 7:00 (МСК) по 23 мая, 11:00 (МСК) в связи с проведением технических работ. ×

Help me debug the problem

Правка en2, от Full_mental, 2017-12-15 10:00:35

hello codeforces , I am a beginner coder , you can imagine very beginner , I am trying to code matrix exponential for nth fibonacci number , but , I find a bug.

the fibonacci series is : 0,1,1,2,3,5,8,13,21.... my code generates : 0,1,1,2,5,21,144,1597,28657.....

please help me finding the bug , I oblige :( :( my code : https://paste.ubuntu.com/26187218/

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Full_mental 2017-12-15 10:00:35 46 Tiny change: 'ige :( :( ' -> 'ige :( :( \nmy code : https://paste.ubuntu.com/26187218/'
en1 Английский Full_mental 2017-12-15 09:57:34 344 Initial revision (published)