Request
Complete the following program so that the long-long Fibrek (long long n) function recalculates the value of the nth Fibonacci number.
#include <iostream>
using namespace std;
int t, k;
long long Fibrek (int n)
{
}
int main ()
{
cin >> t;
while (t--)
{
cin >> k;
cout << Fibrek (k) << "\ n";
}
}
Entrance
In the first row there is a natural number t, not more than 35, denoting the number of queries.
In the second row there are t natural numbers n1, ..., which are larger than 35.
Exit
In the row, the value of the lower Fibonacci number is to be found.