#include<bits/stdc++.h>
using namespace std;
int calculate_numbers(int n){
if(n==1)
return 2;
else if(n==2)
return 3;
else
return calculate_numbers(n-1)+calculate_numbers(n-2);
}
int main(){
int t;
cin>>t;
while(t--){
int n;
cin>>n;
cout<<"#"<<n<<" : "<<calculate_numbers(n)<<endl;
}
}
`
I think this code should be correct
but I am getting wrong-answer error.
plz give some hints!