олимпиада
Find the number of a given number in the Fibonacci sequence
The task itself: http://www.codeabbey.com/index/task_view/fibonacci-sequence--ru,
my code:
#include <iostream>
#incl ... I concluded that the machine simply had an error after a certain number of characters. Is there any way to fix this problem?
Sequence of numbers
There is a problem, I have solved it, and while the program works with small numbers, the answers are displayed correctly. Bu ... 2;i<n;i++)
{
sum+=b;
b=sum-b;
}
cout<<sum%po<<endl;
}
return 0;
}