Help me debug the problem

Revision en1, by Full_mental, 2017-12-15 09:57:34

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 :( :(

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Full_mental 2017-12-15 10:00:35 46 Tiny change: 'ige :( :( ' -> 'ige :( :( \nmy code : https://paste.ubuntu.com/26187218/'
en1 English Full_mental 2017-12-15 09:57:34 344 Initial revision (published)